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 43a5325f1695e2763c0ea388efb9fdad9d9c087d..b7115119cfcc3c3e26e746a8fec86fac06111da0 100644 |
--- a/ui/base/resource/resource_bundle_ios.mm |
+++ b/ui/base/resource/resource_bundle_ios.mm |
@@ -163,7 +163,7 @@ gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id) { |
} |
// The gfx::Image takes ownership. |
- image = gfx::Image(ui_image.release()); |
+ image = gfx::Image(ui_image, true); |
} |
base::AutoLock lock(*images_and_fonts_lock_); |