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

Unified Diff: third_party/WebKit/Source/platform/heap/RunAllTests.cpp

Issue 2402983002: [TimeZoneMonitor] Decouple renderer side impl from content to blink. (Closed)
Patch Set: Fix blink_heap_unittests Created 4 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
Index: third_party/WebKit/Source/platform/heap/RunAllTests.cpp
diff --git a/third_party/WebKit/Source/platform/heap/RunAllTests.cpp b/third_party/WebKit/Source/platform/heap/RunAllTests.cpp
index bd6c94d5012cb8fdf7a53dd011b73655156e1692..15dd8faf7cd4c250c9d6f66e5070e9138f31e4c7 100644
--- a/third_party/WebKit/Source/platform/heap/RunAllTests.cpp
+++ b/third_party/WebKit/Source/platform/heap/RunAllTests.cpp
@@ -34,6 +34,7 @@
#include <base/test/test_suite.h>
#include <base/time/time.h>
#include <content/test/blink_test_environment.h>
+#include <mojo/edk/embedder/embedder.h>
#include <string.h>
class BlinkTestEnvironmentScope {
@@ -43,6 +44,7 @@ class BlinkTestEnvironmentScope {
};
int runHelper(base::TestSuite* testSuite) {
+ mojo::edk::Init();
haraken 2016/10/27 16:13:15 Do we need this? I don't think platform/heap/*test
leonhsl(Using Gerrit) 2016/10/28 05:59:06 At line42 in this one RunAllTests.cpp, it is calli
BlinkTestEnvironmentScope blinkTestEnvironment;
blink::ThreadState* currentThreadState = blink::ThreadState::current();
currentThreadState->registerTraceDOMWrappers(nullptr, nullptr, nullptr,

Powered by Google App Engine
This is Rietveld 408576698