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

Unified Diff: ui/views/mus/window_manager_connection.cc

Issue 2249413004: services/ui: Allow injecting the IO thread task runner for gpu channel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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
Index: ui/views/mus/window_manager_connection.cc
diff --git a/ui/views/mus/window_manager_connection.cc b/ui/views/mus/window_manager_connection.cc
index ef2f6eb5d490b098c39efb6c4a1b76f84a3047a8..a2a89a48b6e84f938ece7bddbcf1b8d0a8e3ebc7 100644
--- a/ui/views/mus/window_manager_connection.cc
+++ b/ui/views/mus/window_manager_connection.cc
@@ -110,7 +110,7 @@ WindowManagerConnection::WindowManagerConnection(
: connector_(connector), identity_(identity) {
lazy_tls_ptr.Pointer()->Set(this);
- gpu_service_ = ui::GpuService::Initialize(connector);
+ gpu_service_ = ui::GpuService::Create(connector);
compositor_context_factory_.reset(
new views::SurfaceContextFactory(gpu_service_.get()));
aura::Env::GetInstance()->set_context_factory(
« services/ui/public/cpp/gpu_service.cc ('K') | « services/ui/public/cpp/gpu_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698