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

Unified Diff: chrome/browser/media/desktop_media_list_ash_unittest.cc

Issue 1143343005: chrome/browser: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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: 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());
}

Powered by Google App Engine
This is Rietveld 408576698