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

Unified Diff: ui/aura/env.cc

Issue 9701098: MultiMonitor support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix shutdown order Created 8 years, 9 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 61289f5ce76b7e8e1cb516d50a2c6e99d5d17f50..0e9222c73bceedbae2c5470b3fbce66675a09709 100644
--- a/ui/aura/env.cc
+++ b/ui/aura/env.cc
@@ -7,6 +7,7 @@
#include "ui/aura/single_monitor_manager.h"
#include "ui/aura/root_window_host.h"
#include "ui/aura/window.h"
+#include "ui/gfx/compositor/compositor.h"
namespace aura {
@@ -25,9 +26,12 @@ Env::Env()
#if !defined(OS_MACOSX)
dispatcher_.reset(CreateDispatcher());
#endif
+ ui::Compositor::Initialize(false);
}
-Env::~Env() {}
+Env::~Env() {
+ ui::Compositor::Terminate();
+}
// static
Env* Env::GetInstance() {

Powered by Google App Engine
This is Rietveld 408576698