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

Unified Diff: components/web_view/test_runner/launcher.cc

Issue 1667273002: Creates BackgroundShell and uses it in test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 4 years, 10 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 | « components/web_view/test_runner/BUILD.gn ('k') | mojo/shell/background/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/test_runner/launcher.cc
diff --git a/components/web_view/test_runner/launcher.cc b/components/web_view/test_runner/launcher.cc
index f54b76358fed64292bdb1e1dd4db940735951e54..99cc584b89236d90a943ce5c9943a32958369a71 100644
--- a/components/web_view/test_runner/launcher.cc
+++ b/components/web_view/test_runner/launcher.cc
@@ -5,6 +5,7 @@
#include "components/web_view/test_runner/launcher.h"
#include "base/bind.h"
+#include "base/i18n/icu_util.h"
#include "base/message_loop/message_loop.h"
#include "base/path_service.h"
#include "mojo/shell/standalone/context.h"
@@ -20,6 +21,7 @@ int LaunchTestRunner(int argc, char** argv) {
base::MessageLoop message_loop;
base::FilePath shell_dir;
PathService::Get(base::DIR_MODULE, &shell_dir);
+ CHECK(base::i18n::InitializeICU());
shell_context.Init(shell_dir);
message_loop.PostTask(FROM_HERE,
« no previous file with comments | « components/web_view/test_runner/BUILD.gn ('k') | mojo/shell/background/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698