summaryrefslogtreecommitdiff
path: root/chromium/ui/base/resource/resource_bundle_ios.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/base/resource/resource_bundle_ios.mm')
-rw-r--r--chromium/ui/base/resource/resource_bundle_ios.mm7
1 files changed, 2 insertions, 5 deletions
diff --git a/chromium/ui/base/resource/resource_bundle_ios.mm b/chromium/ui/base/resource/resource_bundle_ios.mm
index 88cf829c6dd..17f1c79ac07 100644
--- a/chromium/ui/base/resource/resource_bundle_ios.mm
+++ b/chromium/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