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

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

Issue 7046049: Restore favicons to chrome://extensions and chrome://bookmarks page (among probably other things). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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_factory.cc
===================================================================
--- chrome/browser/ui/webui/chrome_web_ui_factory.cc (revision 88118)
+++ chrome/browser/ui/webui/chrome_web_ui_factory.cc (working copy)
@@ -9,6 +9,7 @@
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_web_ui.h"
#include "chrome/browser/extensions/extensions_ui.h"
+#include "chrome/browser/history/history_types.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/webui/bookmarks_ui.h"
#include "chrome/browser/ui/webui/bug_report_ui.h"
@@ -286,6 +287,7 @@
GetFaviconResourceBytes(page_url));
favicon.known_icon = favicon.image_data.get() != NULL &&
favicon.image_data->size() > 0;
+ favicon.icon_type = history::FAVICON;
michaelbai 2011/06/09 15:49:44 Would the issue be fixed by only adding this line?
Finnur 2011/06/09 16:01:57 Yes. The other two were found by searching. I gues
request->ForwardResultAsync(
FaviconService::FaviconDataCallback::TupleType(request->handle(),
favicon));
« chrome/browser/history/history_backend.cc ('K') | « chrome/browser/history/history_backend.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698