diff options
Diffstat (limited to 'ui/base/resource/resource_bundle.cc')
-rw-r--r-- | ui/base/resource/resource_bundle.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc index f57c321..12b1825 100644 --- a/ui/base/resource/resource_bundle.cc +++ b/ui/base/resource/resource_bundle.cc @@ -198,14 +198,11 @@ ResourceBundle& ResourceBundle::GetSharedInstance() { return *g_shared_instance_; } +#if !defined(OS_ANDROID) bool ResourceBundle::LocaleDataPakExists(const std::string& locale) { -#if defined(OS_ANDROID) - if (!GetPathForAndroidLocalePakWithinApk(locale).empty()) { - return true; - } -#endif return !GetLocaleFilePath(locale, true).empty(); } +#endif // !defined(OS_ANDROID) void ResourceBundle::AddDataPackFromPath(const base::FilePath& path, ScaleFactor scale_factor) { |