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

Unified Diff: views/test/views_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: views/test/views_test_base.cc
diff --git a/views/test/views_test_base.cc b/views/test/views_test_base.cc
index 264a58a6a9f69f1a56bfa1e0e16016100f1e6e82..547bb48d4d7763e79bad02dabb739f40b031b200 100644
--- a/views/test/views_test_base.cc
+++ b/views/test/views_test_base.cc
@@ -18,8 +18,8 @@
namespace views {
-static ui::Compositor* TestCreateCompositor() {
- return new ui::TestCompositor();
+static ui::Compositor* TestCreateCompositor(ui::CompositorDelegate *owner) {
+ return new ui::TestCompositor(owner);
}
ViewsTestBase::ViewsTestBase()

Powered by Google App Engine
This is Rietveld 408576698