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

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

Issue 1264333002: First step to refactor ServiceWorkerVersion to make event dispatching more modular. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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 f6ced4c97f6299c312c97ac963a17e8aafaca658..b99549bbbe74083ee208f8a2fa0b9c073e09ed19 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -264,7 +264,7 @@ void MockRenderProcessHost::NotifyTimezoneChange(const std::string& zone_id) {
}
ServiceRegistry* MockRenderProcessHost::GetServiceRegistry() {
- return NULL;
+ return service_registry_.get();
}
const base::TimeTicks& MockRenderProcessHost::GetInitTimeForNavigationMetrics()

Powered by Google App Engine
This is Rietveld 408576698