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

Unified Diff: chrome/browser/sync/glue/typed_url_data_type_controller.cc

Issue 352913002: Port HistoryService::ScheduleDBTask to CancelableTaskTracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix lifetime of base::CancelableTaskTracker for HistoryModelWorker Created 6 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/sync/glue/typed_url_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/typed_url_data_type_controller.cc b/chrome/browser/sync/glue/typed_url_data_type_controller.cc
index 86f94b6b150a0901e0f65b28a39571e24c4dcafc..fbc9e64a93634273bc950b21a4c3717ede8f83d0 100644
--- a/chrome/browser/sync/glue/typed_url_data_type_controller.cc
+++ b/chrome/browser/sync/glue/typed_url_data_type_controller.cc
@@ -137,7 +137,7 @@ bool TypedUrlDataTypeController::PostTaskOnBackendThread(
profile(), Profile::IMPLICIT_ACCESS);
if (history) {
history->ScheduleDBTask(new RunTaskOnHistoryThread(task, this),
- &cancelable_consumer_);
+ &task_tracker_);
return true;
} else {
// History must be disabled - don't start.

Powered by Google App Engine
This is Rietveld 408576698