Index: chrome/browser/history/history_tab_helper.cc |
=================================================================== |
--- chrome/browser/history/history_tab_helper.cc (revision 137075) |
+++ chrome/browser/history/history_tab_helper.cc (working copy) |
@@ -158,7 +158,7 @@ |
// Tell History about this thumbnail. |
history::TopSites* ts = profile->GetTopSites(); |
if (ts) { |
- gfx::Image thumbnail(bitmap); |
+ gfx::Image thumbnail(new SkBitmap(bitmap)); |
ts->SetPageThumbnail(url, &thumbnail, score); |
} |
} |