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

Unified Diff: ui/aura/env.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: ui/aura/env.cc
diff --git a/ui/aura/env.cc b/ui/aura/env.cc
index cd980573eaf926a9777c9d90add34db1a9b69c3a..db6af7bba3fe9a0a6ee9ddcf60d2c30f5b87337d 100644
--- a/ui/aura/env.cc
+++ b/ui/aura/env.cc
@@ -93,8 +93,7 @@ void Env::RootWindowActivated(RootWindow* root_window) {
// Env, private:
void Env::Init() {
-#if !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(USE_X11) && \
- !defined(USE_OZONE)
+#if defined(OS_WIN)
dispatcher_.reset(CreateDispatcher());
#endif
#if defined(USE_X11)

Powered by Google App Engine
This is Rietveld 408576698