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

Unified Diff: services/ui/gpu/gpu_main.h

Issue 2916823002: Move Mus into chrome's process when running with --mus.
Patch Set: Addressing most feedback, making this work on device. Created 3 years, 6 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: services/ui/gpu/gpu_main.h
diff --git a/services/ui/gpu/gpu_main.h b/services/ui/gpu/gpu_main.h
index 4b8717454370db0c65aee6bfa8e72bfbd3026165..e0d4588314d309057c678221f04d24af31381bb0 100644
--- a/services/ui/gpu/gpu_main.h
+++ b/services/ui/gpu/gpu_main.h
@@ -110,7 +110,7 @@ class GpuMain : public gpu::GpuSandboxHelper, public mojom::GpuMain {
base::Thread compositor_thread_;
scoped_refptr<base::SingleThreadTaskRunner> compositor_thread_task_runner_;
- base::PowerMonitor power_monitor_;
+ std::unique_ptr<base::PowerMonitor> power_monitor_;
mojo::Binding<mojom::GpuMain> binding_;
DISALLOW_COPY_AND_ASSIGN(GpuMain);

Powered by Google App Engine
This is Rietveld 408576698