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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 154203002: Remove unnecessary uses of aura::Env::GetDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index f37ae25ec7101446cdd80705b072217f9ffb080d..bbd6eafb1b4ca500e50a0562b12a5847483e72d9 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1631,12 +1631,7 @@ bool ChromeBrowserMainParts::MainMessageLoopRun(int* result_code) {
performance_monitor::StartupTimer::STARTUP_NORMAL);
DCHECK(base::MessageLoopForUI::IsCurrent());
-#if !defined(USE_AURA) && defined(TOOLKIT_VIEWS)
- views::AcceleratorHandler accelerator_handler;
- base::RunLoop run_loop(&accelerator_handler);
-#else
base::RunLoop run_loop;
-#endif
performance_monitor::PerformanceMonitor::GetInstance()->StartGatherCycle();

Powered by Google App Engine
This is Rietveld 408576698