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

Unified Diff: content/browser/site_per_process_browsertest.cc

Issue 2312633002: For debugging, split worker ref count into service worker and shared worker counts (Closed)
Patch Set: size_t Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/site_per_process_browsertest.cc
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
index f579093fb7123c1d014fecfc0aed3222740c7aa1..786dbb2fca21f18d1218de4a9d9605228d28ebb2 100644
--- a/content/browser/site_per_process_browsertest.cc
+++ b/content/browser/site_per_process_browsertest.cc
@@ -6938,7 +6938,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
// termination.
RenderProcessHost* subframe_process =
root->child_at(0)->current_frame_host()->GetProcess();
- subframe_process->IncrementWorkerRefCount();
+ subframe_process->IncrementSharedWorkerRefCount();
// Navigate the subframe away from b.com. Since this is the last active
// frame in the b.com process, this causes the RenderWidget and RenderView to
@@ -6960,7 +6960,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
// process hasn't heard the OnChannelError yet). This race will need to be
// fixed.
- subframe_process->DecrementWorkerRefCount();
+ subframe_process->DecrementSharedWorkerRefCount();
}
// Tests that an input event targeted to a out-of-process iframe correctly
« no previous file with comments | « content/browser/shared_worker/shared_worker_service_impl.cc ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698