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

Issue 2248583003: Force release the worker ref count to release the process in BrowserContext::NotifyWillBeDestroyed() (Closed)

Created:
4 years, 4 months ago by horo
Modified:
4 years, 4 months ago
Reviewers:
alokp
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Force release the worker ref count to release the process in BrowserContext::NotifyWillBeDestroyed() See: https://crbug.com/636377#c11 BUG=636377

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -0 lines) Patch
M chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc View 2 chunks +2 lines, -0 lines 2 comments Download
M chrome/browser/chromeos/printing/printer_pref_manager_unittest.cc View 5 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/renderer_context_menu/open_with_menu_factory_ash_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/browser_context.cc View 2 chunks +16 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 3 chunks +12 lines, -0 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (42 generated)
alokp
https://codereview.chromium.org/2248583003/diff/120001/chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc File chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc (right): https://codereview.chromium.org/2248583003/diff/120001/chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc#newcode25 chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc:25: content::TestBrowserThreadBundle thread_bundle_; does thread_bundle_ need to outlive profile_?
4 years, 4 months ago (2016-08-16 13:19:47 UTC) #42
horo
https://codereview.chromium.org/2248583003/diff/120001/chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc File chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc (right): https://codereview.chromium.org/2248583003/diff/120001/chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc#newcode25 chrome/browser/chromeos/login/quick_unlock/pin_storage_unittest.cc:25: content::TestBrowserThreadBundle thread_bundle_; On 2016/08/16 13:19:47, alokp wrote: > does ...
4 years, 4 months ago (2016-08-16 13:39:10 UTC) #43
horo
4 years, 4 months ago (2016-08-17 02:22:06 UTC) #45
I created a CL which will remove the reference from the all documents in
the renderer process to shared workers when |isteners_| is empty in
RenderProcessHostImpl::Cleanup().
https://codereview.chromium.org/2249173003/

I think this is more straight forward and less complex.

Powered by Google App Engine
This is Rietveld 408576698