Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Issue 2299183002: Revert of content: Fix Context creation logic in ContextProviderFactoryImpl. (Closed)

Created:
4 years, 3 months ago by Michael van Ouwerkerk
Modified:
4 years, 3 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, piman+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of content: Fix Context creation logic in ContextProviderFactoryImpl. (patchset #10 id:180001 of https://codereview.chromium.org/2250473005/ ) Reason for revert: https://bugs.chromium.org/p/chromium/issues/detail?id=643199 The following tests (and probably others) became flaky in the past 24 hours or so: BackgroundTracingManagerBrowserTest.ReactiveSecondTriggerIgnored DownloadContentTest.ResumeRestoredDownload_ShortFile DownloadContentTest.ResumeRestoredDownload_EtagMismatch DragDownloadFileTest.DragDownloadFileTest_Complete DragDownloadFileTest.DragDownloadFileTest_NetError TracingControllerTest.NotWhitelistedMetadataStripped UtilityProcessMojoClientBrowserTest.CallService UtilityProcessMojoClientBrowserTest.ConnectionError UtilityProcessHostImplBrowserTest.LaunchProcess The common issue seems to be this DCHECK: [FATAL:context_provider_factory_impl_android.cc(181)] Check failed: !in_shutdown_. The factory is shutting down, can't handle new requests Original issue's description: > content: Fix Context creation logic in ContextProviderFactoryImpl. > > 1) The BrowserGpuChannelHostFactory runs any pending callbacks during > shutdown. This can become re-entrant if the caller queued more requests > on getting a null GpuChannel. So destroy the ContextProviderFactoryImpl > before destroying the BrowserGpuChannelHostFactory. > > 2) Specify the reason for the context creation failure in the callback > from ContextProviderFactoryImpl so the callers can respond accordingly > and retry if necessary. > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation > > Committed: https://crrev.com/becb5a6cf904faee4024a13e9760b71245e77b31 > Cr-Commit-Position: refs/heads/master@{#415877} TBR=sievers@chromium.org,piman@chromium.org,dtrainor@chromium.org,khushalsagar@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Committed: https://crrev.com/258820db7532d4c411c2000c0907c6cb35399c03 Cr-Commit-Position: refs/heads/master@{#415958}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -297 lines) Patch
M content/browser/browser_main_loop.cc View 3 chunks +2 lines, -9 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc View 4 chunks +0 lines, -7 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest_unittest.cc View 7 chunks +0 lines, -18 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 2 chunks +1 line, -3 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 2 chunks +19 lines, -44 lines 0 comments Download
M content/browser/renderer_host/context_provider_factory_impl_android.h View 5 chunks +12 lines, -19 lines 0 comments Download
M content/browser/renderer_host/context_provider_factory_impl_android.cc View 5 chunks +57 lines, -86 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 4 chunks +0 lines, -7 lines 0 comments Download
M content/content_tests.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M content/public/test/test_renderer_host.h View 2 chunks +0 lines, -4 lines 0 comments Download
M content/public/test/test_renderer_host.cc View 3 chunks +0 lines, -5 lines 0 comments Download
D content/test/mock_gpu_channel_establish_factory.h View 1 chunk +0 lines, -26 lines 0 comments Download
D content/test/mock_gpu_channel_establish_factory.cc View 1 chunk +0 lines, -28 lines 0 comments Download
M content/test/test_render_view_host.cc View 3 chunks +7 lines, -20 lines 0 comments Download
M ui/android/context_provider_factory.h View 2 chunks +3 lines, -19 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Michael van Ouwerkerk
Created Revert of content: Fix Context creation logic in ContextProviderFactoryImpl.
4 years, 3 months ago (2016-09-01 15:19:17 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2299183002/1
4 years, 3 months ago (2016-09-01 15:19:41 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-01 15:20:54 UTC) #5
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 15:23:26 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/258820db7532d4c411c2000c0907c6cb35399c03
Cr-Commit-Position: refs/heads/master@{#415958}

Powered by Google App Engine
This is Rietveld 408576698