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

Unified Diff: chrome/browser/bookmarks/bookmark_model.cc

Issue 230873003: Remove stale include of cancelable_request.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing #include. Created 6 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
« no previous file with comments | « no previous file | chrome/browser/favicon/favicon_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_model.cc
diff --git a/chrome/browser/bookmarks/bookmark_model.cc b/chrome/browser/bookmarks/bookmark_model.cc
index c8941a6c6a49490003e870dcabdf60210d09e3f8..84793e0c5c73a9d2d5d18c5d16fb552dcf203464 100644
--- a/chrome/browser/bookmarks/bookmark_model.cc
+++ b/chrome/browser/bookmarks/bookmark_model.cc
@@ -1015,14 +1015,15 @@ void BookmarkModel::LoadFavicon(BookmarkNode* node) {
profile_, Profile::EXPLICIT_ACCESS);
if (!favicon_service)
return;
- FaviconService::Handle handle = favicon_service->GetFaviconImageForURL(
- FaviconService::FaviconForURLParams(node->url(),
- chrome::FAVICON,
- gfx::kFaviconSize),
- base::Bind(&BookmarkModel::OnFaviconDataAvailable,
- base::Unretained(this), node),
- &cancelable_task_tracker_);
- node->set_favicon_load_task_id(handle);
+ base::CancelableTaskTracker::TaskId taskId =
+ favicon_service->GetFaviconImageForURL(
+ FaviconService::FaviconForURLParams(
+ node->url(), chrome::FAVICON, gfx::kFaviconSize),
+ base::Bind(&BookmarkModel::OnFaviconDataAvailable,
+ base::Unretained(this),
+ node),
+ &cancelable_task_tracker_);
+ node->set_favicon_load_task_id(taskId);
}
void BookmarkModel::FaviconLoaded(const BookmarkNode* node) {
« no previous file with comments | « no previous file | chrome/browser/favicon/favicon_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698