Index: content/shell/browser/shell_views.cc |
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc |
index 2e1e4ff8e2949e10f841ade4d4a652762d465e08..2841742cd2af77620e940b64fa27e16f40b1aa8a 100644 |
--- a/content/shell/browser/shell_views.cc |
+++ b/content/shell/browser/shell_views.cc |
@@ -414,12 +414,11 @@ void Shell::PlatformInitialize(const gfx::Size& default_window_size) { |
#endif |
#if defined(OS_CHROMEOS) |
test_screen_ = aura::TestScreen::Create(gfx::Size()); |
- gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen_); |
+ gfx::Screen::SetScreenInstance(test_screen_); |
wm_test_helper_ = new wm::WMTestHelper(default_window_size, |
GetContextFactory()); |
#else |
- gfx::Screen::SetScreenInstance( |
- gfx::SCREEN_TYPE_NATIVE, views::CreateDesktopScreen()); |
+ gfx::Screen::SetScreenInstance(views::CreateDesktopScreen()); |
#endif |
views_delegate_ = new ShellViewsDelegateAura(); |
} |