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

Unified Diff: trunk/src/content/public/test/content_test_suite_base.cc

Issue 22648006: Revert 216780 "Clean up compositor initialization/destruction." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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 | « trunk/src/content/public/test/browser_test_base.cc ('k') | trunk/src/ui/aura/test/aura_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/public/test/content_test_suite_base.cc
===================================================================
--- trunk/src/content/public/test/content_test_suite_base.cc (revision 216906)
+++ trunk/src/content/public/test/content_test_suite_base.cc (working copy)
@@ -16,6 +16,7 @@
#include "media/base/media.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/ui_base_paths.h"
+#include "ui/compositor/compositor_setup.h"
#if defined(OS_ANDROID)
#include "base/android/jni_android.h"
@@ -71,6 +72,9 @@
RegisterPathProvider();
ui::RegisterPathProvider();
+ // Mock out the compositor on platforms that use it.
+ ui::SetupTestCompositor();
+
testing::UnitTest::GetInstance()->listeners().Append(
new ContentTestSuiteBaseListener);
}
Property changes on: trunk/src/content/public/test/content_test_suite_base.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « trunk/src/content/public/test/browser_test_base.cc ('k') | trunk/src/ui/aura/test/aura_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698