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

Unified Diff: chrome/browser/favicon_service.cc

Issue 6713082: Move WebUIFactory to chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 9 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/favicon_service.cc
diff --git a/chrome/browser/favicon_service.cc b/chrome/browser/favicon_service.cc
index ddf632be069026792f81cf63152ffb2aaac0b689..406ee303e39df4c07df9e7d4bca1435ece2d6b59 100644
--- a/chrome/browser/favicon_service.cc
+++ b/chrome/browser/favicon_service.cc
@@ -7,8 +7,8 @@
#include "chrome/browser/history/history.h"
#include "chrome/browser/history/history_backend.h"
#include "chrome/browser/profiles/profile.h"
+#include "chrome/browser/ui/webui/web_ui_factory.h"
#include "chrome/common/url_constants.h"
-#include "content/browser/webui/web_ui_factory.h"
FaviconService::FaviconService(Profile* profile) : profile_(profile) {
}
@@ -54,7 +54,7 @@ FaviconService::Handle FaviconService::GetFaviconForURL(
FaviconService::Handle handle = request->handle();
if (page_url.SchemeIs(chrome::kChromeUIScheme) ||
page_url.SchemeIs(chrome::kExtensionScheme)) {
- WebUIFactory::GetFaviconForURL(profile_, request, page_url);
+ WebUIFactory::GetInstance()->GetFaviconForURL(profile_, request, page_url);
} else {
HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
if (hs)

Powered by Google App Engine
This is Rietveld 408576698