Index: content/app/content_main_runner.cc |
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
index be41018283c54f7889451190990c4ef6ca0f2e7e..01bb5f00f42ce6a9499708f7a53c5766054c62fc 100644 |
--- a/content/app/content_main_runner.cc |
+++ b/content/app/content_main_runner.cc |
@@ -471,6 +471,7 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
#endif // OS_ANDROID |
base::GlobalDescriptors* g_fds = base::GlobalDescriptors::GetInstance(); |
+ ALLOW_UNUSED_LOCAL(g_fds); |
jungshik at Google
2016/08/19 23:10:48
I wonder if it'd be better to enclose |base::Glo..
Eden Wang
2016/08/20 00:41:42
I think it would be a very long statement to enclo
jungshik at Google
2016/08/22 20:02:00
I don't think you need that long condition. The sh
|
// On Android, |
// - setlocale() is not supported. |
@@ -678,7 +679,7 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
RegisterPathProvider(); |
RegisterContentSchemes(true); |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) && (ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_FILE) |
int icudata_fd = g_fds->MaybeGet(kAndroidICUDataDescriptor); |
if (icudata_fd != -1) { |
auto icudata_region = g_fds->GetRegion(kAndroidICUDataDescriptor); |
@@ -689,7 +690,7 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
} |
#else |
CHECK(base::i18n::InitializeICU()); |
-#endif // OS_ANDROID |
+#endif // OS_ANDROID && (ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_FILE) |
base::StatisticsRecorder::Initialize(); |