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

Unified Diff: chrome/renderer/media/cast_ipc_dispatcher_unittest.cc

Issue 1123733002: [chrome/renderer/media] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nit Created 5 years, 7 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
« no previous file with comments | « chrome/renderer/media/cast_ipc_dispatcher.cc ('k') | chrome/renderer/media/cast_receiver_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_ipc_dispatcher_unittest.cc
diff --git a/chrome/renderer/media/cast_ipc_dispatcher_unittest.cc b/chrome/renderer/media/cast_ipc_dispatcher_unittest.cc
index a88c8c9a4480f4fa84cdb8ce1125df8b1be60541..a07f8dfa6d42e822415ac4cfb0453bc741515601 100644
--- a/chrome/renderer/media/cast_ipc_dispatcher_unittest.cc
+++ b/chrome/renderer/media/cast_ipc_dispatcher_unittest.cc
@@ -4,6 +4,7 @@
#include "base/message_loop/message_loop.h"
#include "base/test/simple_test_tick_clock.h"
+#include "base/thread_task_runner_handle.h"
#include "chrome/common/cast_messages.h"
#include "chrome/renderer/media/cast_ipc_dispatcher.h"
#include "ipc/ipc_message_macros.h"
@@ -15,7 +16,7 @@ namespace {
class CastIPCDispatcherTest : public testing::Test {
public:
CastIPCDispatcherTest() {
- dispatcher_ = new CastIPCDispatcher(base::MessageLoopProxy::current());
+ dispatcher_ = new CastIPCDispatcher(base::ThreadTaskRunnerHandle::Get());
}
protected:
« no previous file with comments | « chrome/renderer/media/cast_ipc_dispatcher.cc ('k') | chrome/renderer/media/cast_receiver_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698