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

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

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: and another rebase Created 4 years, 11 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 | « ui/views/mouse_watcher_view_host.cc ('k') | ui/views/test/desktop_screen_x11_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/screen_mus.cc
diff --git a/ui/views/mus/screen_mus.cc b/ui/views/mus/screen_mus.cc
index 88311b6c62d45fddc277aa58956e056340e7cebc..b918faac28c3bcd29d9c4cb9a9766969c36c9230 100644
--- a/ui/views/mus/screen_mus.cc
+++ b/ui/views/mus/screen_mus.cc
@@ -76,7 +76,7 @@ ScreenMus::ScreenMus(ScreenMusDelegate* delegate)
ScreenMus::~ScreenMus() {}
void ScreenMus::Init(mojo::ApplicationImpl* app) {
- gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, this);
+ gfx::Screen::SetScreenInstance(this);
app->ConnectToService("mojo:mus", &display_manager_);
« no previous file with comments | « ui/views/mouse_watcher_view_host.cc ('k') | ui/views/test/desktop_screen_x11_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698