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

Unified Diff: cloud_print/gcp20/prototype/printer.cc

Issue 1179163002: Migrate callers of message_loop_proxy() to task_runner() (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: cloud_print/gcp20/prototype/printer.cc
diff --git a/cloud_print/gcp20/prototype/printer.cc b/cloud_print/gcp20/prototype/printer.cc
index 43090022a2d40419f39de582fb80a6ee841fb02c..8a09a9cf22b3b5ac446601cc484efefcda9baa49 100644
--- a/cloud_print/gcp20/prototype/printer.cc
+++ b/cloud_print/gcp20/prototype/printer.cc
@@ -140,7 +140,7 @@ std::string GetDescription() {
}
scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() {
- return base::MessageLoop::current()->message_loop_proxy();
+ return base::MessageLoop::current()->task_runner();
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698