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

Unified Diff: views/run_all_unittests.cc

Issue 8395043: Fix up compositor mocking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deeper down the rabbit hole. 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
« no previous file with comments | « ui/gfx/test/gfx_test_utils.cc ('k') | views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/run_all_unittests.cc
diff --git a/views/run_all_unittests.cc b/views/run_all_unittests.cc
index 631db9e49e211ef430b21991fa47e9d89576e1c7..20522efe559a181afee91a76814ec87a1e07cf1b 100644
--- a/views/run_all_unittests.cc
+++ b/views/run_all_unittests.cc
@@ -6,6 +6,7 @@
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_paths.h"
#include "ui/gfx/compositor/compositor_test_support.h"
+#include "ui/gfx/test/gfx_test_utils.h"
#include "views/view.h"
class ViewTestSuite : public base::TestSuite {
@@ -20,7 +21,7 @@ class ViewTestSuite : public base::TestSuite {
ui::ResourceBundle::InitSharedInstance("en-US");
ui::CompositorTestSupport::Initialize();
- ui::CompositorTestSupport::SetupMockCompositor();
+ ui::gfx_test_utils::SetupTestCompositor();
}
virtual void Shutdown() {
« no previous file with comments | « ui/gfx/test/gfx_test_utils.cc ('k') | views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698