Index: chrome/browser/android/ntp/most_visited_sites.cc |
diff --git a/chrome/browser/android/ntp/most_visited_sites.cc b/chrome/browser/android/ntp/most_visited_sites.cc |
index e5305e05cdc3d2362e9a12d3148e549687babaaf..25fb37c92abc7a1f3bf322cc7b36c477ddb626c9 100644 |
--- a/chrome/browser/android/ntp/most_visited_sites.cc |
+++ b/chrome/browser/android/ntp/most_visited_sites.cc |
@@ -93,7 +93,7 @@ std::unique_ptr<SkBitmap> MaybeFetchLocalThumbnail( |
scoped_refptr<base::RefCountedMemory> image; |
std::unique_ptr<SkBitmap> bitmap; |
if (top_sites && top_sites->GetPageThumbnail(url, false, &image)) |
- bitmap.reset(gfx::JPEGCodec::Decode(image->front(), image->size())); |
+ bitmap = gfx::JPEGCodec::Decode(image->front(), image->size()); |
return bitmap; |
} |