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

Unified Diff: content/shell/browser/shell_aura.cc

Issue 23882007: Explicit initialization of aura::Env for browser shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_aura.cc
diff --git a/content/shell/browser/shell_aura.cc b/content/shell/browser/shell_aura.cc
index d2d3c3805b14c0de8f29da7fb1cbe4a32353c94d..c4d2143d8bb974312bc6a389315bd11e675000b8 100644
--- a/content/shell/browser/shell_aura.cc
+++ b/content/shell/browser/shell_aura.cc
@@ -288,6 +288,9 @@ void Shell::PlatformInitialize(const gfx::Size& default_window_size) {
_setmode(_fileno(stdout), _O_BINARY);
_setmode(_fileno(stderr), _O_BINARY);
#endif
+ // Env creates the compositor which will be needed when creating the root
+ // window.
+ aura::Env::GetInstance();
Ben Goodger (Google) 2013/09/06 17:08:38 Perhaps we should have an explicit CreateInstance
#if defined(OS_CHROMEOS)
chromeos::DBusThreadManager::Initialize();
gfx::Screen::SetScreenInstance(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698