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

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

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/browser/history/history_service.cc
diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc
index e38cbcf1a23af739b70d555a482f616341437e23..98759c476fd41b57d1aecd8daddbb55964c3e15c 100644
--- a/chrome/browser/history/history_service.cc
+++ b/chrome/browser/history/history_service.cc
@@ -457,8 +457,10 @@ HistoryService::Handle HistoryService::QuerySegmentDurationSince(
void HistoryService::SetOnBackendDestroyTask(const base::Closure& task) {
DCHECK(thread_checker_.CalledOnValidThread());
- ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::SetOnBackendDestroyTask,
- MessageLoop::current(), task);
+ ScheduleAndForget(PRIORITY_NORMAL,
+ &HistoryBackend::SetOnBackendDestroyTask,
+ base::MessageLoop::current(),
+ task);
}
void HistoryService::AddPage(const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698