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

Unified Diff: services/ui/ws/display.cc

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/ws/display.cc
diff --git a/services/ui/ws/display.cc b/services/ui/ws/display.cc
index 00bf5ad9bbd8cf19e19f77cf0219597b2a220d40..c992aa9796ebda4a67af8634a5c3d80eb02d2e74 100644
--- a/services/ui/ws/display.cc
+++ b/services/ui/ws/display.cc
@@ -71,7 +71,9 @@ void Display::Init(const display::ViewportMetrics& metrics,
CreateRootWindow(metrics.bounds_in_pixels.size());
- platform_display_ = PlatformDisplay::Create(root_.get(), metrics);
+ platform_display_ = PlatformDisplay::Create(
+ root_.get(), metrics, window_server_->GetResourceRunner(),
+ window_server_->GetImageCursorsWeakPtr());
platform_display_->Init(this);
}

Powered by Google App Engine
This is Rietveld 408576698