Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4346)

Unified Diff: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc

Issue 10272004: Move RefCountedMemory class to base namespace. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
===================================================================
--- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (revision 134496)
+++ chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (working copy)
@@ -435,7 +435,7 @@
ExtensionWebUI::GetFaviconForURL(profile, request, url);
} else {
history::FaviconData favicon;
- favicon.image_data = scoped_refptr<RefCountedMemory>(
+ favicon.image_data = scoped_refptr<base::RefCountedMemory>(
GetFaviconResourceBytes(url));
favicon.known_icon = favicon.image_data.get() != NULL &&
favicon.image_data->size() > 0;
@@ -456,7 +456,7 @@
ChromeWebUIControllerFactory::~ChromeWebUIControllerFactory() {
}
-RefCountedMemory* ChromeWebUIControllerFactory::GetFaviconResourceBytes(
+base::RefCountedMemory* ChromeWebUIControllerFactory::GetFaviconResourceBytes(
const GURL& page_url) const {
// The bookmark manager is a chrome extension, so we have to check for it
// before we check for extension scheme.

Powered by Google App Engine
This is Rietveld 408576698