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

Unified Diff: content/test/content_test_suite.cc

Issue 1040873002: Fix content_unittests for Ozone GBM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_test_suite.cc
diff --git a/content/test/content_test_suite.cc b/content/test/content_test_suite.cc
index 18a116f3e0a42765c0c6a45baf09074e30cea38e..d5bf9d4284ab86beee78effb933e3e685f34cae1 100644
--- a/content/test/content_test_suite.cc
+++ b/content/test/content_test_suite.cc
@@ -44,6 +44,10 @@
#include "ui/gl/android/surface_texture.h"
#endif
+#if defined (USE_OZONE)
+#include "base/message_loop/message_loop.h"
+#endif
+
namespace content {
namespace {
@@ -110,7 +114,9 @@ void ContentTestSuite::Initialize() {
mock_cr_app::RegisterMockCrApp();
#endif
#endif
-
+#if defined(USE_OZONE)
+ base::MessageLoopForUI main_loop;
sky 2015/03/30 14:46:38 None of the other platforms initialize the message
vignatti (out of this project) 2015/03/30 15:01:50 A few Ozone implementations like the GBM requires
+#endif
#if defined(OS_WIN)
gfx::InitDeviceScaleFactor(1.0f);
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698