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

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

Issue 23882007: Explicit initialization of aura::Env for browser shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased no-op Created 7 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_aura.cc ('k') | ui/aura/bench/bench_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/minimal_shell.cc
diff --git a/content/shell/browser/minimal_shell.cc b/content/shell/browser/minimal_shell.cc
index e7e88f8ab9492ad8c9de97e9e98046cf1a7985ec..cc719db61507a8f9efbc61cf1fa06d35b8eb7f04 100644
--- a/content/shell/browser/minimal_shell.cc
+++ b/content/shell/browser/minimal_shell.cc
@@ -5,6 +5,7 @@
#include "content/shell/browser/minimal_shell.h"
#include "ui/aura/client/default_capture_client.h"
+#include "ui/aura/env.h"
#include "ui/aura/focus_manager.h"
#include "ui/aura/root_window.h"
#include "ui/aura/test/test_activation_client.h"
@@ -14,6 +15,7 @@
namespace content {
MinimalShell::MinimalShell(const gfx::Size& default_window_size) {
+ aura::Env::CreateInstance();
root_window_.reset(new aura::RootWindow(
aura::RootWindow::CreateParams(
gfx::Rect(default_window_size))));
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/aura/bench/bench_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698