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

Unified Diff: mojo/shell/standalone/desktop/launcher_process.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/context.cc ('k') | ui/views/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/standalone/desktop/launcher_process.cc
diff --git a/mojo/shell/standalone/desktop/launcher_process.cc b/mojo/shell/standalone/desktop/launcher_process.cc
index ded413a26650cee91ee2d3ee53ebbe26c34c4200..9332d9435bd89c5ef030209de7ecf1bbc6a8ed46 100644
--- a/mojo/shell/standalone/desktop/launcher_process.cc
+++ b/mojo/shell/standalone/desktop/launcher_process.cc
@@ -13,6 +13,7 @@
#include "base/command_line.h"
#include "base/debug/stack_trace.h"
#include "base/files/file_util.h"
+#include "base/i18n/icu_util.h"
#include "base/message_loop/message_loop.h"
#include "base/path_service.h"
#include "base/synchronization/waitable_event.h"
@@ -45,6 +46,7 @@ int LauncherProcessMain(const GURL& mojo_url, const base::Closure& callback) {
base::MessageLoop message_loop;
base::FilePath shell_dir;
PathService::Get(base::DIR_MODULE, &shell_dir);
+ CHECK(base::i18n::InitializeICU());
shell_context.Init(shell_dir);
if (mojo_url.is_empty()) {
« no previous file with comments | « mojo/shell/standalone/context.cc ('k') | ui/views/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698