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

Unified Diff: ui/aura/root_window.cc

Issue 23882007: Explicit initialization of aura::Env for browser shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary call 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: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index 390a5f1a42f4cb3f003b43b41a353d5bb1cddbb2..8f460407745af31766dc69d472aa09b6015d5e31 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -160,6 +160,7 @@ RootWindow::RootWindow(const CreateParams& params)
repostable_event_factory_(this) {
SetName("RootWindow");
+ Env::CreateInstance();
dnicoara 2013/09/10 19:15:00 On OZONE builds this is needed since the minimal_s
Ben Goodger (Google) 2013/09/10 19:21:03 Why not? Not sure I like this.
dnicoara 2013/09/10 19:56:55 minimal_shell doesn't perform any aura calls, so i
compositor_.reset(new ui::Compositor(this, host_->GetAcceleratedWidget()));
DCHECK(compositor_.get());
compositor_->AddObserver(this);
« ui/aura/env.cc ('K') | « ui/aura/env.cc ('k') | ui/aura/test/aura_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698