Index: components/enhanced_bookmarks/image_store.cc |
diff --git a/components/enhanced_bookmarks/image_store.cc b/components/enhanced_bookmarks/image_store.cc |
index a3705781701be60cb7d23356a0615f16100d8155..c0759c13cc5d13e646df4408c6b7876c54e31bca 100644 |
--- a/components/enhanced_bookmarks/image_store.cc |
+++ b/components/enhanced_bookmarks/image_store.cc |
@@ -18,7 +18,7 @@ void ImageStore::ChangeImageURL(const GURL& from, const GURL& to) { |
if (!HasKey(from)) |
return; |
- const enhanced_bookmarks::ImageRecord& record = Get(from); |
+ scoped_refptr<enhanced_bookmarks::ImageRecord> record = Get(from); |
Erase(from); |
Insert(to, record); |
} |