Publish DEPS for Chromium 45.0.2454.99
Incrementing VERSION to 45.0.2454.99
Cr-Commit-Position: refs/branch-heads/2454@{#492}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Remove HANDLE_FLAG_PROTECT_FROM_CLOSE flag from Tracked/ScopedHandle.
This reverts most of https://crrev.com/c928d34ee861fd4102c352d9e79e1a4959a47209
(refs/heads/master@{#329516}).
There is a strong suspicion that this flag is causing a lot of extra crashes. In any
case, the change caused the handle verifier to be enabled for all channels, which was
not really intended (not desired).
BUG=475872
TBR=grt@chromium.org, wfh@chromium.org
Review URL: https://codereview.chromium.org/1355703002
Cr-Commit-Position: refs/heads/master@{#349531}
(cherry picked from commit 44c7a7ab481f11061bd398ce83eb43a0f549ce26)
Review URL: https://codereview.chromium.org/1357533003 .
Cr-Commit-Position: refs/branch-heads/2454@{#491}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
[Merge M45] ServiceWorker: Drop statechange events if WebServiceWorkerProxy is not ready
This is a quick fix for http://crbug.com/507110
BUG=507110
TBR=ksakamoto@chromium.org
Review URL: https://codereview.chromium.org/1325143004
Cr-Commit-Position: refs/heads/master@{#347878}
(cherry picked from commit 3ded5b9d6d175d8f243390f81296e2c4ea6a80fa)
Review URL: https://codereview.chromium.org/1351283002 .
Cr-Commit-Position: refs/branch-heads/2454@{#490}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
[Merge M45] ServiceWorker: Add null check for provider host to be transferred out
ServiceWorkerProviderHost to be transferred out could be deleted during
asynchronous cross-site transfer operation.
BUG=507113
TBR=michaeln@chromium.org
Review URL: https://codereview.chromium.org/1325023004
Cr-Commit-Position: refs/heads/master@{#347347}
(cherry picked from commit 0d251c6df2b8cd4ab6500a2812e753d8c930abfa)
Review URL: https://codereview.chromium.org/1351273002 .
Cr-Commit-Position: refs/branch-heads/2454@{#489}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Incrementing VERSION to 45.0.2454.98
Cr-Commit-Position: refs/branch-heads/2454@{#488}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
[Ozone-DRM] Use CRTC's mode when configuring it for mirror mode
Using the same mode on both CRTCs may not work if the timings are not
correct. This patch configures the CRTC independently such that each one
uses its own mode and timings.
Also split modesetting from re-enabling so it is easier to reason when
the CRTC's current mode can be reused.
BUG=chrome-os-partner:42915, 511446
Review URL: https://codereview.chromium.org/1338843002
Cr-Commit-Position: refs/heads/master@{#348613}
(cherry picked from commit e342544e82671b42b94e1f2f6400ddb0a5c3b49a)
Review URL: https://codereview.chromium.org/1353493005 .
Cr-Commit-Position: refs/branch-heads/2454@{#487}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Revert "[Ozone-DRM] Modeset when re-mapping windows to controllers"
This reverts commit a8c88bddec37b978604ba6bf0399e16dd2146729.
Causing black screen on daisy, spring, minnie.
BUG=532765, 511446
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1353873003 .
Cr-Commit-Position: refs/branch-heads/2454@{#486}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Revert "[Ozone-DRM] Use CRTC's mode when configuring it for mirror mode"
This reverts commit c4aed78e09fd375790475b88704c05a87e513e85.
Reverting since it is causing large merge conflicts with a different
revert. Will re-land after.
BUG=511446
Review URL: https://codereview.chromium.org/1356733003 .
Cr-Commit-Position: refs/branch-heads/2454@{#485}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Report crashes in setup.exe as coming from the same product as the browser.
This regressed in r256585 when the product name of setup.exe changed in
its resource.
BUG=526710
TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/1321853010
Cr-Commit-Position: refs/heads/master@{#347953}
(cherry picked from commit 61c9d953fbf2e3b68a82372f7e7114fc880e76c1)
TBR=grt@chromium.org
Review URL: https://codereview.chromium.org/1352903002 .
Cr-Commit-Position: refs/branch-heads/2454@{#484}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Fix connection to crash service for x64 setup.exe.
Support for this was added to Chrome in r105190, but was accidentally
left out for setup.exe. <sadface>
BUG=526710
R=robertshield@chromium.org
Review URL: https://codereview.chromium.org/1313003003
Cr-Commit-Position: refs/heads/master@{#346434}
(cherry picked from commit 13c6885ccc78eb4b4fe8437e7141fca5b157459a)
TBR=grt@chromium.org
Review URL: https://codereview.chromium.org/1348653004 .
Cr-Commit-Position: refs/branch-heads/2454@{#483}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Incrementing VERSION to 45.0.2454.97
Cr-Commit-Position: refs/branch-heads/2454@{#482}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Incrementing VERSION to 45.0.2454.96
Cr-Commit-Position: refs/branch-heads/2454@{#481}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Merge to 2454: mac: Add a hack to prevent a BookmarkButton dragging crash from triggering.
> The root of the problem lies in the fact that -[draggableButtonImpl_
> mouseDownImpl:theEvent] spins a run loop, and by the time the function returns,
> the original -mouseDown: event may no longer be relevant.
>
> BUG=509833
>
> Review URL: https://codereview.chromium.org/1296203004
>
> Cr-Commit-Position: refs/heads/master@{#343968}
BUG=509833
TBR=shess@chromium.org
Review URL: https://codereview.chromium.org/1347753002 .
Cr-Commit-Position: refs/branch-heads/2454@{#480}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Mac: Audit use of -[NSFont fontName] (Merge to M45)
System fonts have special attributes starting with 10.11, they should not be
requested by name.
BUG=503786
TBR=rsesek@chromium.org
Review URL: https://codereview.chromium.org/1235273002
Cr-Commit-Position: refs/heads/master@{#338878}
(cherry picked from commit 3c029bf08ccf51d142c7f3380964ba9176941fc4)
Review URL: https://codereview.chromium.org/1341133004 .
Cr-Commit-Position: refs/branch-heads/2454@{#479}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Mac: Fix tab title vertical alignment on OS X 10.11 (Merge to M45)
System fonts have special attributes starting with 10.11, they should not be
requested by name.
BUG=503786
TBR=rsesek@chromium.org
Review URL: https://codereview.chromium.org/1224253003
Cr-Commit-Position: refs/heads/master@{#338755}
(cherry picked from commit 5fb943471a154e125c325dc3f9d404d085507c41)
Review URL: https://codereview.chromium.org/1339553003 .
Cr-Commit-Position: refs/branch-heads/2454@{#478}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Invalidate the active app-modal dialog last
Invalidating the active dialog might show another dialog of the
currently closing web contents.
BUG=509078
TBR=bauerb@chromium.org
Review URL: https://codereview.chromium.org/1230373002
Cr-Commit-Position: refs/heads/master@{#338491}
(cherry picked from commit fddefb99ac3bab7dac5d131bc330ddc932d6f2fb)
Review URL: https://codereview.chromium.org/1342153002 .
Cr-Commit-Position: refs/branch-heads/2454@{#477}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Incrementing VERSION to 45.0.2454.95
Cr-Commit-Position: refs/branch-heads/2454@{#476}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Incrementing VERSION to 45.0.2454.94
Cr-Commit-Position: refs/branch-heads/2454@{#475}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
[Merge M45] A canceled request for a profile download is causing the token service to remember this as an error for the account.
BUG=530821
TBR=acleung@chromium.org, nyquist@chromium.org, anthonyvd@chromium.org, gogerald@chromium.org
Review URL: https://codereview.chromium.org/1317873002
Cr-Commit-Position: refs/heads/master@{#347007}
(cherry picked from commit 4ccab513683dd36fcffa2b3eca9f4803d9243d25)
Review URL: https://codereview.chromium.org/1342873003 .
Cr-Commit-Position: refs/branch-heads/2454@{#474}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Merge to 45: bluetooth: android: Add java build dependencies.
ChromePublic.apk when built from internal Chrome code failed to include
these dependencies, and would encounter runtime errors with
ClassNotFoundException.
BUG=490430, 531616
Initial Review URL: https://codereview.chromium.org/1231883004
Cr-Commit-Position: refs/heads/master@{#338534}
(cherry picked from commit 3a7891028f1357bc869a9495df6bff3da2944265)
TBR=kerz@chromium.org
Review URL: https://codereview.chromium.org/1333153004 .
Cr-Commit-Position: refs/branch-heads/2454@{#473}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
[Merge m45] Fix possible reconcilor loop when the primary account is in an auth error state.
BUG=516070,529439
TBR=rogerta@chromium.org, nyquist@chromium.org
Review URL: https://codereview.chromium.org/1264143003
Cr-Commit-Position: refs/heads/master@{#348441}
(cherry picked from commit b32365ef9d9117c4b78cbee77361fd401e8841a2)
Review URL: https://codereview.chromium.org/1336393002 .
Cr-Commit-Position: refs/branch-heads/2454@{#472}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
[Ozone-DRM] Use CRTC's mode when configuring it for mirror mode
Using the same mode on both CRTCs may not work if the timings are not
correct. This patch configures the CRTC independently such that each one
uses its own mode and timings.
Also split modesetting from re-enabling so it is easier to reason when
the CRTC's current mode can be reused.
BUG=chrome-os-partner:42915
Review URL: https://codereview.chromium.org/1338843002
Cr-Commit-Position: refs/heads/master@{#348613}
(cherry picked from commit e342544e82671b42b94e1f2f6400ddb0a5c3b49a)
Review URL: https://codereview.chromium.org/1343813002 .
Cr-Commit-Position: refs/branch-heads/2454@{#471}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
[Ozone-DRM] Modeset when re-mapping windows to controllers
This fixes an issue where the surface associated with a window thinks it
can submit a buffer, but the controller is waiting for a page flip event
to finish. This issue is triggered in the following scenario:
- surface1 mapped to display1
- surface2 mapped to display2
- surface2 page flips a buffer on display2
- surface1 is re-mapped to display2
- surface2 is re-mapped to display1
- surface1 had no pending buffers, so it thinks it is fine to schedule a
page flip on display2
- display2 fails to page flip since it is still waiting for the callback
from surface2
We had considered using a queue internally, though that would have
complicated the logic. Since changing display configuration is a rare
event we decided it would be simpler to just modeset at this point even
if modesetting would take longer.
BUG=511446, 529806
Review URL: https://codereview.chromium.org/1327413003
Cr-Commit-Position: refs/heads/master@{#348496}
(cherry picked from commit 569ff0f367864bc65b8abaaab4dec1e57d25ac93)
Force swap buffers when re-creating the buffers
The SwapResult provides a way to signal when the buffers are no longer
adequate and need to be re-allocated. Currently the surfaceless
implementation of the GpuBrowserCompositorOutputSurface will re-allocate
the buffers, however it doesn't swap again. Since the previous buffer
was rejected the display is showing an old frame.
BUG=511446
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1327343003
Cr-Commit-Position: refs/heads/master@{#348246}
(cherry picked from commit 61df9d531b103895877d163c1635bac16d686952)
Force buffer re-allocation when the backing display changes
When the user changes the primary display and both displays have the
same resolution, the buffers are never re-allocated. It is then possible
to encounter the following scenario:
Surface 1 scans out on display A and surface 2 scans out on display B.
When surface 1 moves to display B and surface 2 to display A there is no
guarantee that either surface will force re-draws. If, say, surface 1
starts page flipping it is possible that it would start re-using the
buffer currently shown on display A which could cause the GPU process to
wait for display A to release the buffer. At this point the GPU main
thread is blocked waiting without a possibility to progress since
surface 2 cannot use the GPU to update. Eventually the watchdog kills
the GPU process which causes the surfaces to be reallocated and progress
to continue.
BUG=511446
Review URL: https://codereview.chromium.org/1334483002
Cr-Commit-Position: refs/heads/master@{#347933}
(cherry picked from commit 5bfd1d7ea19dae7cca921afa01cb0913d99514c0)
Review URL: https://codereview.chromium.org/1336383002 .
Cr-Commit-Position: refs/branch-heads/2454@{#470}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Android Media Notification: fix crash when stopping service with no running instance.
This fix has landed with https://codereview.chromium.org/1288803002, it
is therefore fixed in M46 onward. Given that the CL is large, it is not
cherry-picked but instead only the relevant line is merged to M45.
BUG=527668
R=avayvod@chromium.org
Review URL: https://codereview.chromium.org/1340773003 .
Cr-Commit-Position: refs/branch-heads/2454@{#469}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Fix change in registration id for cache invalidation due to web push registrations.
Current Registration Sequence:
1) Chrome calls MultiplexingGcmListener#initializeGcm on cold start, which checks if we currently have a registration id using GCMRegistrar#getRegistrationId. Each time the registration token is stored by GcmRegistrar, it stores the current application version as well. GCMRegistrar#getRegistrationId returns an empty string if application has been updated since it stored the current registration id or if this is the first time the application has been started so we never registered with GCM.
2) GCMRegistrar#register sends a registration intent to GSF with a pending intent that is used to send back the registration result. The intent with the registration result is broadcasted to the GcmReceiver which sends it to MultiplexingGcmListener. This causes GcmRegistrar to update the registration id and invokes AndroidMessageReceiverService#onRegistered with the registration id which we update at the server.
3) When we register for web push using GoogleCloudMessagingV2, the registration result is broadcasted to the GcmReceiver as well causing the registration id to change.
Change in the Registration Sequence:
1) AndroidChannelPreferences stores the registration id with the application version analogous to GCMRegistrar. When the registration result is received we check to see if we have a registration id in AndroidChannelPreferences. If yes we ignore this registration id.
2) The only scenario where the registration result is for cache invalidation is when it was received after triggering GcmRegistrar#register. And it is triggered only when there is no registration id stored in AndroidChannelPreferences, so we only cache this result.
BUG=530649
R=dgiorgini@google.com, johnme@chromium.org, nyquist@chromium.org
Review URL: https://codereview.chromium.org/1342553002 .
Cr-Commit-Position: refs/branch-heads/2454@{#468}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Fix crash in DownloadOverwriteInfoBarDelegate.
When the DownloadOverwriteInfoBar is dismissed by user action (e.g.
because a tab was launched only for the download), we shouldn't try and
remove the infobar ourselves. Propagate the value through to ensure we
don't double-free it.
BUG=481758
TBR=acleung
Review URL: https://codereview.chromium.org/1326033002
Cr-Commit-Position: refs/heads/master@{#347391}
(cherry picked from commit 84fa1e834dac2ca70989b8f9ae9baea7e0c878ec)
Review URL: https://codereview.chromium.org/1340043003 .
Cr-Commit-Position: refs/branch-heads/2454@{#467}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}