Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 9589a5120bad51e7f9c2fe9b7d042e6941198106..292be85794fbcc09bbbd3a7cd6d8163304535171 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -194,6 +194,10 @@ |
#include "ui/views/focus/accelerator_handler.h" |
#endif |
+#if defined(USE_AURA) |
+#include "ui/aura/env.h" |
+#endif |
+ |
using content::BrowserThread; |
namespace { |
@@ -1466,6 +1470,10 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
if (!parsed_command_line().HasSwitch(switches::kDisableComponentUpdate)) |
RegisterComponentsForUpdate(parsed_command_line()); |
+#if defined(USE_AURA) |
+ aura::Env::CreateInstance(); |
Ben Goodger (Google)
2013/10/01 23:21:49
If this needs to be in this position you should ad
dnicoara
2013/10/02 18:45:29
Done. Let me know if it needs more detail.
|
+#endif |
+ |
if (browser_creator_->Start(parsed_command_line(), base::FilePath(), |
profile_, last_opened_profiles, &result_code)) { |
#if defined(OS_WIN) || (defined(OS_LINUX) && !defined(OS_CHROMEOS)) |