| Index: chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
|
| ===================================================================
|
| --- chrome/browser/ui/webui/ntp/favicon_webui_handler.cc (revision 133676)
|
| +++ chrome/browser/ui/webui/ntp/favicon_webui_handler.cc (working copy)
|
| @@ -155,8 +155,8 @@
|
| std::vector<unsigned char> bits;
|
| if (!gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, true, &bits))
|
| return;
|
| - scoped_refptr<RefCountedStaticMemory> bits_mem(
|
| - new RefCountedStaticMemory(&bits.front(), bits.size()));
|
| + scoped_refptr<base::RefCountedStaticMemory> bits_mem(
|
| + new base::RefCountedStaticMemory(&bits.front(), bits.size()));
|
| scoped_ptr<StringValue> color_value(GetDominantColorCssString(bits_mem));
|
| StringValue id(extension_id);
|
| web_ui()->CallJavascriptFunction(
|
|
|