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

Unified Diff: chrome/browser/history/history_backend.cc

Issue 9071001: base::Bind: Remove ScopedRunnableMethodFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 12 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/history/history_backend.cc
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index 3e44f246d8a97e406c407632bb934a3f48af74b1..b8dce381906b1a07410d44b7e944e1298421e291 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -124,8 +124,8 @@ MostVisitedURL MakeMostVisitedURL(const PageUsageData& page_data,
// be assigned to a RunnableMethod.
//
// TODO(brettw): bug 1165182: This should be replaced with a
-// ScopedRunnableMethodFactory which will handle everything automatically (like
-// we do in ExpireHistoryBackend).
+// base::WeakPtrFactory which will handle everything automatically (like we do
+// in ExpireHistoryBackend).
class CommitLaterTask : public base::RefCounted<CommitLaterTask> {
public:
explicit CommitLaterTask(HistoryBackend* history_backend)

Powered by Google App Engine
This is Rietveld 408576698