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

Unified Diff: third_party/WebKit/Source/web/tests/RunAllTests.cpp

Issue 1871753002: Blink web RunAllTests.cpp: add mojo initialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s'moar BUILD.gn Created 4 years, 8 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 | « third_party/WebKit/Source/web/tests/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/RunAllTests.cpp
diff --git a/third_party/WebKit/Source/web/tests/RunAllTests.cpp b/third_party/WebKit/Source/web/tests/RunAllTests.cpp
index b23f3df1ee42afa3e2eb8d29cfa16fee63a30ce0..ebd49150cedebe25c2ea6cc8d2d4db55bf7b7b9d 100644
--- a/third_party/WebKit/Source/web/tests/RunAllTests.cpp
+++ b/third_party/WebKit/Source/web/tests/RunAllTests.cpp
@@ -35,6 +35,7 @@
#include "base/test/test_suite.h"
#include "bindings/core/v8/V8GCController.h"
#include "content/test/blink_test_environment.h"
+#include "mojo/edk/embedder/embedder.h"
#include "platform/weborigin/SchemeRegistry.h"
#include <v8.h>
@@ -65,6 +66,8 @@ int runHelper(base::TestSuite* testSuite)
int main(int argc, char** argv)
{
+ mojo::edk::Init();
+
base::TestSuite testSuite(argc, argv);
return base::LaunchUnitTests(argc, argv, base::Bind(&runHelper, base::Unretained(&testSuite)));
}
« no previous file with comments | « third_party/WebKit/Source/web/tests/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698