Index: components/storage_monitor/storage_monitor_linux_unittest.cc |
diff --git a/components/storage_monitor/storage_monitor_linux_unittest.cc b/components/storage_monitor/storage_monitor_linux_unittest.cc |
index 3e77145f9a5f07198d8ad4666c3c711ba74c5cd5..710b7c45319de8881b2a2b0b53a4d2ae5848cb51 100644 |
--- a/components/storage_monitor/storage_monitor_linux_unittest.cc |
+++ b/components/storage_monitor/storage_monitor_linux_unittest.cc |
@@ -17,6 +17,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/run_loop.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/thread_task_runner_handle.h" |
#include "components/storage_monitor/mock_removable_storage_observer.h" |
#include "components/storage_monitor/removable_device_constants.h" |
#include "components/storage_monitor/storage_info.h" |
@@ -132,7 +133,7 @@ class TestStorageMonitorLinux : public StorageMonitorLinux { |
void UpdateMtab( |
const MtabWatcherLinux::MountPointDeviceMap& new_mtab) override { |
StorageMonitorLinux::UpdateMtab(new_mtab); |
- base::MessageLoopProxy::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, base::MessageLoop::QuitClosure()); |
} |