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

Unified Diff: content/shell/shell_aura.cc

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix new addition Created 8 years, 2 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 | « content/browser/web_contents/web_contents_view_win.cc ('k') | ui/aura/desktop/desktop_screen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_aura.cc
diff --git a/content/shell/shell_aura.cc b/content/shell/shell_aura.cc
index ebbd75eaf30b1c217cbf339e525d16b94bee4e00..7e1a1e893b43a50c91ac9c78a2cea01973e3eb61 100644
--- a/content/shell/shell_aura.cc
+++ b/content/shell/shell_aura.cc
@@ -289,7 +289,8 @@ void Shell::PlatformInitialize() {
#endif
aura::Env::GetInstance()->SetDisplayManager(new aura::SingleDisplayManager);
stacking_client_ = new aura::DesktopStackingClient();
- gfx::Screen::SetInstance(aura::CreateDesktopScreen());
+ gfx::Screen::SetScreenInstance(
+ gfx::SCREEN_TYPE_NATIVE, aura::CreateDesktopScreen());
views_delegate_ = new ShellViewsDelegateAura();
CommandLine::ForCurrentProcess()->AppendSwitch(views::switches::kDesktopAura);
« no previous file with comments | « content/browser/web_contents/web_contents_view_win.cc ('k') | ui/aura/desktop/desktop_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698