| Index: ui/base/resource/resource_bundle_ios.mm
|
| diff --git a/ui/base/resource/resource_bundle_ios.mm b/ui/base/resource/resource_bundle_ios.mm
|
| index 88cf829c6dd8c360d7079fddb4c77fe8e351f7b4..17f1c79ac07f436b798761c53560d13fd47514ac 100644
|
| --- a/ui/base/resource/resource_bundle_ios.mm
|
| +++ b/ui/base/resource/resource_bundle_ios.mm
|
| @@ -89,10 +89,7 @@ base::FilePath ResourceBundle::GetLocaleFilePath(const std::string& app_locale,
|
| return locale_file_path;
|
| }
|
|
|
| -gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id, ImageRTL rtl) {
|
| - // Flipped images are not used on iOS.
|
| - DCHECK_EQ(rtl, RTL_DISABLED);
|
| -
|
| +gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id) {
|
| // Check to see if the image is already in the cache.
|
| {
|
| base::AutoLock lock(*images_and_fonts_lock_);
|
| @@ -104,7 +101,7 @@ gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id, ImageRTL rtl) {
|
|
|
| gfx::Image image;
|
| if (delegate_)
|
| - image = delegate_->GetNativeImageNamed(resource_id, rtl);
|
| + image = delegate_->GetNativeImageNamed(resource_id);
|
|
|
| if (image.IsEmpty()) {
|
| // Load the raw data from the resource pack at the current supported scale
|
|
|