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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 2921823002: Rationalize WakeLock naming conventions (Closed)
Patch Set: fix Mac compile error 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
Index: content/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 4e79b0bfd77dfb2dd6c766588dd1ca3d2434d260..d897a445d39c62c48e660fb24ebd36894735ca61 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -2640,11 +2640,10 @@ void RenderWidgetHostImpl::ProcessSwapMessages(
}
#if defined(OS_MACOSX)
-device::mojom::WakeLockService* RenderWidgetHostImpl::GetWakeLockService() {
+device::mojom::WakeLock* RenderWidgetHostImpl::GetWakeLockService() {
// Here is a lazy binding, and will not reconnect after connection error.
if (!wake_lock_) {
- device::mojom::WakeLockServiceRequest request =
- mojo::MakeRequest(&wake_lock_);
+ device::mojom::WakeLockRequest request = mojo::MakeRequest(&wake_lock_);
// In some testing contexts, the service manager connection isn't
// initialized.
if (ServiceManagerConnection::GetForProcess()) {

Powered by Google App Engine
This is Rietveld 408576698