Index: chrome/browser/prerender/prerender_manager.cc |
diff --git a/chrome/browser/prerender/prerender_manager.cc b/chrome/browser/prerender/prerender_manager.cc |
index 4246d8f831c3d18650a5183376c27ed81aeca94e..3b9e15865a633ffd6b4e703c3ba58eb7d9678c60 100644 |
--- a/chrome/browser/prerender/prerender_manager.cc |
+++ b/chrome/browser/prerender/prerender_manager.cc |
@@ -337,8 +337,12 @@ bool PrerenderManager::MaybeUsePreloadedPage(TabContents* tc, const GURL& url) { |
tc->UpdateTitle(rvh, pc->page_id(), UTF16ToWideHack(title)); |
GURL icon_url = pc->icon_url(); |
- if (!icon_url.is_empty()) |
- tc->favicon_helper().OnUpdateFaviconURL(pc->page_id(), icon_url); |
+ if (!icon_url.is_empty()) { |
+ LOG(INFO) << "MaybeUsePreloadedPage"; |
+ std::vector<FaviconURL> urls; |
+ urls.push_back(FaviconURL(icon_url, FAVICON)); |
+ tc->favicon_helper().OnUpdateFaviconURL(pc->page_id(), urls); |
+ } |
if (pc->has_stopped_loading()) |
tc->DidStopLoading(); |