Index: storage/browser/fileapi/plugin_private_file_system_backend.cc |
diff --git a/storage/browser/fileapi/plugin_private_file_system_backend.cc b/storage/browser/fileapi/plugin_private_file_system_backend.cc |
index 72a0cd9d68e6dc267d95ca5bbc79e52c9c79cdb1..153062b2e7ce740c57333fb34398f936bec12394 100644 |
--- a/storage/browser/fileapi/plugin_private_file_system_backend.cc |
+++ b/storage/browser/fileapi/plugin_private_file_system_backend.cc |
@@ -9,6 +9,7 @@ |
#include "base/stl_util.h" |
#include "base/synchronization/lock.h" |
#include "base/task_runner_util.h" |
+#include "base/thread_task_runner_handle.h" |
#include "net/base/net_util.h" |
#include "storage/browser/fileapi/async_file_util_adapter.h" |
#include "storage/browser/fileapi/file_stream_reader.h" |
@@ -122,7 +123,7 @@ void PluginPrivateFileSystemBackend::OpenPrivateFileSystem( |
OpenFileSystemMode mode, |
const StatusCallback& callback) { |
if (!CanHandleType(type) || file_system_options_.is_incognito()) { |
- base::MessageLoopProxy::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, base::Bind(callback, base::File::FILE_ERROR_SECURITY)); |
return; |
} |
@@ -149,7 +150,7 @@ void PluginPrivateFileSystemBackend::ResolveURL( |
const OpenFileSystemCallback& callback) { |
// We never allow opening a new plugin-private filesystem via usual |
// ResolveURL. |
- base::MessageLoopProxy::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, |
base::Bind(callback, GURL(), std::string(), |
base::File::FILE_ERROR_SECURITY)); |