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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2378033002: Decouple WakeLock from direct //content dependencies (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | content/browser/wake_lock/wake_lock_service_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index ade16ba1826e7d0dcfc125c7fbceaae55a57be40..909984e763aef67e270b1b57953f5dad4c01beb5 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2142,8 +2142,7 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
// factory callback.
GetInterfaceRegistry()->AddInterface<blink::mojom::WakeLockService>(
base::Bind(&WakeLockServiceContext::CreateService,
- base::Unretained(wake_lock_service_context),
- GetProcess()->GetID(), GetRoutingID()));
+ base::Unretained(wake_lock_service_context)));
}
if (!permission_service_context_)
« no previous file with comments | « no previous file | content/browser/wake_lock/wake_lock_service_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698