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

Unified Diff: ui/aura/test/aura_test_base.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/test/aura_test_base.cc
diff --git a/ui/aura/test/aura_test_base.cc b/ui/aura/test/aura_test_base.cc
index 1e4eb41e5f2148fcb03690933c7148c506a16ebe..5710f18ff08626218ee2566688a310a96325c7e5 100644
--- a/ui/aura/test/aura_test_base.cc
+++ b/ui/aura/test/aura_test_base.cc
@@ -15,8 +15,8 @@
namespace aura {
namespace test {
-static ui::Compositor* TestCreateCompositor() {
- return new ui::TestCompositor();
+static ui::Compositor* TestCreateCompositor(ui::CompositorDelegate* owner) {
+ return new ui::TestCompositor(owner);
}
AuraTestBase::AuraTestBase()
« ui/aura/desktop.h ('K') | « ui/aura/desktop.cc ('k') | ui/gfx/compositor/test_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698