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

Unified Diff: ui/aura/desktop.cc

Issue 8240006: Use a mocked compositor for unit tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 9 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
Index: ui/aura/desktop.cc
diff --git a/ui/aura/desktop.cc b/ui/aura/desktop.cc
index 565628e5139741a1a1e3a37d23dfaed8377fe132..ed211326f116cf4ff095d890a8571b7ad3bd7e02 100644
--- a/ui/aura/desktop.cc
+++ b/ui/aura/desktop.cc
@@ -33,7 +33,7 @@ Desktop::Desktop()
active_window_(NULL),
in_destructor_(false) {
if (compositor_factory_) {
- compositor_ = (*Desktop::compositor_factory())();
+ compositor_ = (*Desktop::compositor_factory())(this);
} else {
compositor_ = ui::Compositor::Create(this, host_->GetAcceleratedWidget(),
host_->GetSize());
« ui/aura/desktop.h ('K') | « ui/aura/desktop.h ('k') | ui/aura/test/aura_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698