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

Unified Diff: content/public/test/mock_render_process_host.cc

Issue 2248583003: Force release the worker ref count to release the process in BrowserContext::NotifyWillBeDestroyed() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/public/test/mock_render_process_host.cc
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
index 3e77cdc72ab632c6182aa138e36700727942ca3a..037052edb56774f850630cbd75e5875739569377 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -297,6 +297,8 @@ void MockRenderProcessHost::DecrementWorkerRefCount() {
--worker_ref_count_;
}
+void MockRenderProcessHost::ForceReleaseWorkerRefCount() {}
+
void MockRenderProcessHost::PurgeAndSuspend() {}
void MockRenderProcessHost::FilterURL(bool empty_allowed, GURL* url) {

Powered by Google App Engine
This is Rietveld 408576698