Index: chrome/browser/extensions/image_loading_tracker.cc |
diff --git a/chrome/browser/extensions/image_loading_tracker.cc b/chrome/browser/extensions/image_loading_tracker.cc |
index 7e620e634a8279c6b287ced46d22d76df82a5a76..9eb5b33cb405960263ed0e23a7efd830cf04af89 100644 |
--- a/chrome/browser/extensions/image_loading_tracker.cc |
+++ b/chrome/browser/extensions/image_loading_tracker.cc |
@@ -372,8 +372,10 @@ void ImageLoadingTracker::OnBitmapLoaded( |
gfx::Image image; |
std::string extension_id = info->extension_id; |
- if (!info->image_skia.isNull()) |
+ if (!info->image_skia.isNull()) { |
+ info->image_skia.SetReadOnly(); |
image = gfx::Image(info->image_skia); |
+ } |
load_map_.erase(load_map_it); |