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

Unified Diff: trunk/src/ui/message_center/test/run_all_unittests.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/ui/keyboard/keyboard_test_suite.cc ('k') | trunk/src/ui/snapshot/snapshot_aura_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/message_center/test/run_all_unittests.cc
===================================================================
--- trunk/src/ui/message_center/test/run_all_unittests.cc (revision 216906)
+++ trunk/src/ui/message_center/test/run_all_unittests.cc (working copy)
@@ -9,6 +9,10 @@
#include "ui/test/test_suite.h"
#include "ui/views/view.h"
+#if defined(TOOLKIT_VIEWS)
+#include "ui/compositor/compositor_setup.h"
+#endif
+
class MessageCenterTestSuite : public ui::test::UITestSuite {
public:
MessageCenterTestSuite(int argc, char** argv)
@@ -25,6 +29,10 @@
void MessageCenterTestSuite::Initialize() {
ui::test::UITestSuite::Initialize();
+
+#if defined(TOOLKIT_VIEWS)
+ ui::SetupTestCompositor();
+#endif
}
void MessageCenterTestSuite::Shutdown() {
Property changes on: trunk/src/ui/message_center/test/run_all_unittests.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « trunk/src/ui/keyboard/keyboard_test_suite.cc ('k') | trunk/src/ui/snapshot/snapshot_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698