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

Unified Diff: mojo/runner/shell_test_main.cc

Issue 1260813007: Mandoline: Support about:blank URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « mojo/runner/context.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/shell_test_main.cc
diff --git a/mojo/runner/shell_test_main.cc b/mojo/runner/shell_test_main.cc
index a6ec6d1ba80611c121a3f972a205bf226da5fd8c..17ec7d7bcfad8528bbd982d8006b80095ce171b2 100644
--- a/mojo/runner/shell_test_main.cc
+++ b/mojo/runner/shell_test_main.cc
@@ -11,6 +11,7 @@
#include "mojo/runner/child_process.h"
#include "mojo/runner/switches.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "third_party/mojo/src/mojo/edk/embedder/test_embedder.h"
int main(int argc, char** argv) {
base::CommandLine::Init(argc, argv);
@@ -24,6 +25,9 @@ int main(int argc, char** argv) {
}
base::TestSuite test_suite(argc, argv);
+
+ mojo::embedder::test::InitWithSimplePlatformSupport();
+
return base::LaunchUnitTests(
argc, argv,
base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
« no previous file with comments | « mojo/runner/context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698