Index: chrome/browser/chromeos/drive/file_system/truncate_operation.cc |
diff --git a/chrome/browser/chromeos/drive/file_system/truncate_operation.cc b/chrome/browser/chromeos/drive/file_system/truncate_operation.cc |
index 44c3302e2ff6a183b39153de08148c1d23d5fc75..aadc0406a2b7bd43312663f950d6213bcc87b205 100644 |
--- a/chrome/browser/chromeos/drive/file_system/truncate_operation.cc |
+++ b/chrome/browser/chromeos/drive/file_system/truncate_operation.cc |
@@ -9,9 +9,9 @@ |
#include "base/files/file.h" |
#include "base/files/file_path.h" |
#include "base/logging.h" |
-#include "base/message_loop/message_loop_proxy.h" |
#include "base/sequenced_task_runner.h" |
#include "base/task_runner_util.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/browser/chromeos/drive/drive.pb.h" |
#include "chrome/browser/chromeos/drive/file_cache.h" |
#include "chrome/browser/chromeos/drive/file_errors.h" |
@@ -84,9 +84,8 @@ void TruncateOperation::Truncate(const base::FilePath& file_path, |
DCHECK(!callback.is_null()); |
if (length < 0) { |
- base::MessageLoopProxy::current()->PostTask( |
- FROM_HERE, |
- base::Bind(callback, FILE_ERROR_INVALID_OPERATION)); |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
+ FROM_HERE, base::Bind(callback, FILE_ERROR_INVALID_OPERATION)); |
return; |
} |