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

Unified Diff: media/blink/run_all_unittests.cc

Issue 2402983002: [TimeZoneMonitor] Decouple renderer side impl from content to blink. (Closed)
Patch Set: Rebase only Created 4 years, 1 month 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 | « media/blink/DEPS ('k') | third_party/WebKit/Source/core/workers/WorkerThread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/run_all_unittests.cc
diff --git a/media/blink/run_all_unittests.cc b/media/blink/run_all_unittests.cc
index 5b0b6df4d7bd935629d83e775786ed13eff51b39..3830ff76123a1ed28dcf036f3afc90bd640d0d61 100644
--- a/media/blink/run_all_unittests.cc
+++ b/media/blink/run_all_unittests.cc
@@ -20,6 +20,10 @@
#include "media/base/android/media_jni_registrar.h"
#endif
+#if !defined(OS_IOS)
+#include "mojo/edk/embedder/embedder.h"
+#endif
+
#ifdef V8_USE_EXTERNAL_STARTUP_DATA
#include "gin/v8_initializer.h"
#endif
@@ -82,6 +86,10 @@ void BlinkMediaTestSuite::Initialize() {
gin::V8Initializer::LoadV8Natives();
#endif
+// Initialize mojo firstly to enable Blink initialization to use it.
+#if !defined(OS_IOS)
+ mojo::edk::Init();
+#endif
// Dummy task runner is initialized here because the blink::initialize creates
// IsolateHolder which needs the current task runner handle. There should be
// no task posted to this task runner.
« no previous file with comments | « media/blink/DEPS ('k') | third_party/WebKit/Source/core/workers/WorkerThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698