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

Unified Diff: ash/shell.cc

Issue 23882007: Explicit initialization of aura::Env for browser shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using stricter ifdefs 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
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index badb7e4a83cdf479ec917e41993f10f4d7de4785..21060139306d45825d909d897a372903c0a7b0e2 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -477,7 +477,7 @@ void Shell::Init() {
// Env creates the compositor. Historically it seems to have been implicitly
// initialized first by the ActivationController, but now that FocusController
// no longer does this we need to do it explicitly.
- aura::Env::GetInstance();
+ aura::Env::CreateInstance();
views::corewm::FocusController* focus_controller =
new views::corewm::FocusController(new wm::AshFocusRules);
focus_client_.reset(focus_controller);
« no previous file with comments | « no previous file | ash/test/ash_test_helper.cc » ('j') | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698