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

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

Issue 2916823002: Move Mus into chrome's process when running with --mus.
Patch Set: Undo Screen TLS change, don't use Screen::GetScreen() in Mus. 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 b3afca9dc12b01fde4976ea8de4db4f530055147..a726da71343e1685444366d8c2656f420f5b9ba1 100644
--- a/services/ui/gpu/gpu_main.h
+++ b/services/ui/gpu/gpu_main.h
@@ -102,7 +102,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