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

Unified Diff: src/d8.cc

Issue 2042253002: [icu] Support loading data file from default location (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Format Created 4 years, 6 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 | « src/base/file-utils.cc ('k') | src/icu_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index 7c955dacb929e682c21797f06c45cabc78e9bc96..8c0f82a3117245f0e6e6a1202db20553d3de111b 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -2422,7 +2422,7 @@ int Shell::Main(int argc, char* argv[]) {
#endif // defined(_MSC_VER)
#endif // defined(_WIN32) || defined(_WIN64)
if (!SetOptions(argc, argv)) return 1;
- v8::V8::InitializeICU(options.icu_data_file);
+ v8::V8::InitializeICUDefaultLocation(argv[0], options.icu_data_file);
#ifndef V8_SHARED
g_platform = i::FLAG_verify_predictable
? new PredictablePlatform()
« no previous file with comments | « src/base/file-utils.cc ('k') | src/icu_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698