Index: extensions/browser/api/cast_channel/cast_test_util.h |
diff --git a/extensions/browser/api/cast_channel/cast_test_util.h b/extensions/browser/api/cast_channel/cast_test_util.h |
index 0c8d75551e0be69a2b8c9c7f07330f116db63210..f70af01ff3e21eb66273a160d6304871e9bfe9b9 100644 |
--- a/extensions/browser/api/cast_channel/cast_test_util.h |
+++ b/extensions/browser/api/cast_channel/cast_test_util.h |
@@ -9,7 +9,7 @@ |
#include <utility> |
#include "base/macros.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#include "extensions/browser/api/cast_channel/cast_socket.h" |
#include "extensions/browser/api/cast_channel/cast_transport.h" |
#include "extensions/common/api/cast_channel/cast_channel.pb.h" |
@@ -116,7 +116,7 @@ MATCHER_P(EqualsProto, message, "") { |
ACTION_TEMPLATE(PostCompletionCallbackTask, |
HAS_1_TEMPLATE_PARAMS(int, cb_idx), |
AND_1_VALUE_PARAMS(rv)) { |
- base::MessageLoop::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, base::Bind(testing::get<cb_idx>(args), rv)); |
} |