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

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

Issue 1143343005: chrome/browser: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 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_change_processor.cc
diff --git a/chrome/browser/sync/glue/typed_url_change_processor.cc b/chrome/browser/sync/glue/typed_url_change_processor.cc
index 28b78a6e788454a2f99b52c5f4482ac1ac9ebdbc..48455b81fbaa33a76521d0d41a8deef9927a4f2b 100644
--- a/chrome/browser/sync/glue/typed_url_change_processor.cc
+++ b/chrome/browser/sync/glue/typed_url_change_processor.cc
@@ -6,6 +6,7 @@
#include "base/location.h"
#include "base/metrics/histogram.h"
+#include "base/single_thread_task_runner.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/profiles/profile.h"
@@ -332,9 +333,9 @@ void TypedUrlChangeProcessor::StartImpl() {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
DCHECK(history_backend_);
DCHECK(backend_loop_);
- backend_loop_->PostTask(FROM_HERE,
- base::Bind(&TypedUrlChangeProcessor::StartObserving,
- base::Unretained(this)));
+ backend_loop_->task_runner()->PostTask(
+ FROM_HERE, base::Bind(&TypedUrlChangeProcessor::StartObserving,
+ base::Unretained(this)));
}
void TypedUrlChangeProcessor::StartObserving() {
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_registrar_unittest.cc ('k') | chrome/browser/sync/glue/ui_model_worker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698