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

Unified Diff: mojo/shell/standalone/android/main.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 | « mojo/shell/standalone/BUILD.gn ('k') | mojo/shell/standalone/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/standalone/android/main.cc
diff --git a/mojo/shell/standalone/android/main.cc b/mojo/shell/standalone/android/main.cc
index 9fffd84ee6c825d772fb0b4954026af8e597cbbc..6be9f8afffdeb9158ccb94c8c7db9b1759946518 100644
--- a/mojo/shell/standalone/android/main.cc
+++ b/mojo/shell/standalone/android/main.cc
@@ -14,6 +14,7 @@
#include "base/debug/stack_trace.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
+#include "base/i18n/icu_util.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/macros.h"
@@ -136,6 +137,8 @@ static void Init(JNIEnv* env,
g_java_message_loop.Get().reset(new base::MessageLoopForUI);
base::MessageLoopForUI::current()->Start();
+ CHECK(base::i18n::InitializeICU());
+
shell_context->Init(shell_file_root);
ConfigureAndroidServices(shell_context);
« no previous file with comments | « mojo/shell/standalone/BUILD.gn ('k') | mojo/shell/standalone/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698