| Index: chrome/browser/history/top_sites_unittest.cc | 
| diff --git a/chrome/browser/history/top_sites_unittest.cc b/chrome/browser/history/top_sites_unittest.cc | 
| index bdfd045c945c6d8b845c5bc4c221f2111eedd6b6..863bfc64c40a98de7014a1ae63c6b16501e3731d 100644 | 
| --- a/chrome/browser/history/top_sites_unittest.cc | 
| +++ b/chrome/browser/history/top_sites_unittest.cc | 
| @@ -166,11 +166,11 @@ class TopSitesTest : public HistoryUnitTestBase { | 
|  | 
| // Creates a bitmap of the specified color. Caller takes ownership. | 
| gfx::Image CreateBitmap(SkColor color) { | 
| -    SkBitmap* thumbnail = new SkBitmap; | 
| -    thumbnail->setConfig(SkBitmap::kARGB_8888_Config, 4, 4); | 
| -    thumbnail->allocPixels(); | 
| -    thumbnail->eraseColor(color); | 
| -    return gfx::Image(thumbnail);  // takes ownership. | 
| +    SkBitmap thumbnail; | 
| +    thumbnail.setConfig(SkBitmap::kARGB_8888_Config, 4, 4); | 
| +    thumbnail.allocPixels(); | 
| +    thumbnail.eraseColor(color); | 
| +    return gfx::Image(thumbnail);  // adds ref. | 
| } | 
|  | 
| // Forces top sites to load top sites from history, then recreates top sites. | 
|  |