Index: chrome/browser/media/desktop_media_list_ash_unittest.cc |
diff --git a/chrome/browser/media/desktop_media_list_ash_unittest.cc b/chrome/browser/media/desktop_media_list_ash_unittest.cc |
index f5c87f2af45926c3a1eb04b3d03729aa36fc0a82..d02ca1efd6e3c7b73dff29224e8cc8d8f860fa46 100644 |
--- a/chrome/browser/media/desktop_media_list_ash_unittest.cc |
+++ b/chrome/browser/media/desktop_media_list_ash_unittest.cc |
@@ -5,7 +5,10 @@ |
#include "chrome/browser/media/desktop_media_list_ash.h" |
#include "ash/test/ash_test_base.h" |
+#include "base/location.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/browser/media/desktop_media_list_observer.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -45,7 +48,7 @@ class DesktopMediaListAshTest : public ash::test::AshTestBase { |
}; |
ACTION(QuitMessageLoop) { |
- base::MessageLoop::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, base::MessageLoop::QuitClosure()); |
} |