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

Unified Diff: storage/browser/blob/scoped_file.cc

Issue 1169923009: Remove remaining use of the deprecated MessageLoopProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo. 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: storage/browser/blob/scoped_file.cc
diff --git a/storage/browser/blob/scoped_file.cc b/storage/browser/blob/scoped_file.cc
index cdf4cb88550f61d1166b6bb50b39b4dded597504..825dc041198a1594751febfab4e28665c1f6f610 100644
--- a/storage/browser/blob/scoped_file.cc
+++ b/storage/browser/blob/scoped_file.cc
@@ -8,8 +8,8 @@
#include "base/callback.h"
#include "base/files/file_util.h"
#include "base/location.h"
-#include "base/message_loop/message_loop_proxy.h"
#include "base/task_runner.h"
+#include "base/thread_task_runner_handle.h"
namespace storage {
@@ -41,7 +41,7 @@ void ScopedFile::AddScopeOutCallback(
const ScopeOutCallback& callback,
base::TaskRunner* callback_runner) {
if (!callback_runner)
- callback_runner = base::MessageLoopProxy::current().get();
+ callback_runner = base::ThreadTaskRunnerHandle::Get().get();
scope_out_callbacks_.push_back(std::make_pair(callback, callback_runner));
}
« no previous file with comments | « mojo/runner/in_process_native_runner.cc ('k') | third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698