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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2194003002: services/ui: Have an explicit lifetime/ownership of ui::GpuService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot merge Created 4 years, 4 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 | « ash/mus/window_manager_application.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index b8c2371e43cfef84b750f1242b0db43fc7fe906c..ad3e112b10f29950d16db5bbb2c1bd184b848eb4 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -87,6 +87,10 @@ namespace scheduler {
class WebThreadBase;
}
+namespace ui {
+class GpuService;
+}
+
namespace v8 {
class Extension;
}
@@ -655,6 +659,10 @@ class CONTENT_EXPORT RenderThreadImpl
std::unique_ptr<memory_coordinator::ChildMemoryCoordinatorImpl>
memory_coordinator_;
+#if defined(USE_AURA)
+ std::unique_ptr<ui::GpuService> gpu_service_;
+#endif
+
scoped_refptr<base::SingleThreadTaskRunner>
main_thread_compositor_task_runner_;
« no previous file with comments | « ash/mus/window_manager_application.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698