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

Unified Diff: content/browser/wake_lock/wake_lock_context_host.cc

Issue 2867303003: Generalize the API of WakeLockContext mojo interface. (Closed)
Patch Set: Generalize the API of WakeLockContext mojo interface. Created 3 years, 7 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/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/wake_lock/wake_lock_context_host.cc
diff --git a/content/browser/wake_lock/wake_lock_context_host.cc b/content/browser/wake_lock/wake_lock_context_host.cc
index 7376d05f73becdf7de1b025368cc40b82695e511..411a436ff670be0bc48f6a5676b92438e6bf11ee 100644
--- a/content/browser/wake_lock/wake_lock_context_host.cc
+++ b/content/browser/wake_lock/wake_lock_context_host.cc
@@ -41,7 +41,8 @@ WakeLockContextHost::WakeLockContextHost(WebContents* web_contents)
device::mojom::WakeLockContextProviderPtr context_provider;
connector->BindInterface(device::mojom::kServiceName,
mojo::MakeRequest(&context_provider));
- context_provider->GetContext(id_, mojo::MakeRequest(&wake_lock_context_));
+ context_provider->GetWakeLockContextForID(
+ id_, mojo::MakeRequest(&wake_lock_context_));
}
}
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698