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

Unified Diff: services/ui/demo/mus_demo.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: services/ui/demo/mus_demo.cc
diff --git a/services/ui/demo/mus_demo.cc b/services/ui/demo/mus_demo.cc
index 0a4c41564d64db5f46f4112b69b773bc63f3c309..bd7f05dbdb93facc4ea8caca431eb6b65f732ccf 100644
--- a/services/ui/demo/mus_demo.cc
+++ b/services/ui/demo/mus_demo.cc
@@ -65,7 +65,7 @@ MusDemo::~MusDemo() {
}
void MusDemo::OnStart(const shell::Identity& identity) {
- gpu_service_ = GpuService::Initialize(connector());
+ gpu_service_ = GpuService::Create(connector());
window_tree_client_ = new WindowTreeClient(this, this, nullptr);
window_tree_client_->ConnectAsWindowManager(connector());
}

Powered by Google App Engine
This is Rietveld 408576698