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 2888e8de26806872a839f8199827907f8a82b6e7..1d87a48ad2aaad174b1c5963fa088021616a0839 100644 |
--- a/content/public/test/mock_render_process_host.cc |
+++ b/content/public/test/mock_render_process_host.cc |
@@ -275,6 +275,10 @@ bool MockRenderProcessHost::IsProcessBackgrounded() const { |
return is_process_backgrounded_; |
} |
+size_t MockRenderProcessHost::GetWorkerRefCount() const { |
+ return worker_ref_count_; |
+} |
+ |
void MockRenderProcessHost::IncrementServiceWorkerRefCount() { |
++worker_ref_count_; |
} |