Index: chrome/browser/dom_ui/dom_ui_factory.cc |
diff --git a/chrome/browser/dom_ui/dom_ui_factory.cc b/chrome/browser/dom_ui/dom_ui_factory.cc |
index aaeb4e38188baf6af8489f27aabcbe455facf1a7..cb2e30ddb17f53d28e759c54a62e0ddd26536549 100644 |
--- a/chrome/browser/dom_ui/dom_ui_factory.cc |
+++ b/chrome/browser/dom_ui/dom_ui_factory.cc |
@@ -242,8 +242,8 @@ void DOMUIFactory::GetFaviconForURL(Profile* profile, |
page_url.host() != extension_misc::kBookmarkManagerId) { |
ExtensionDOMUI::GetFaviconForURL(profile, request, page_url); |
} else { |
- scoped_refptr<RefCountedMemory> icon_data = |
- DOMUIFactory::GetFaviconResourceBytes(profile, page_url); |
+ scoped_refptr<RefCountedMemory> icon_data( |
+ DOMUIFactory::GetFaviconResourceBytes(profile, page_url)); |
bool know_icon = icon_data.get() != NULL && icon_data->size() > 0; |
request->ForwardResultAsync( |
FaviconService::FaviconDataCallback::TupleType(request->handle(), |