Index: content/renderer/media/android/stream_texture_wrapper_impl_unittest.cc |
diff --git a/content/renderer/media/android/stream_texture_wrapper_impl_unittest.cc b/content/renderer/media/android/stream_texture_wrapper_impl_unittest.cc |
index 173c2b8b472cce1926842f0bf507438bfa59562a..195379db4654c41de0f75683ef089e1c4a0e1e07 100644 |
--- a/content/renderer/media/android/stream_texture_wrapper_impl_unittest.cc |
+++ b/content/renderer/media/android/stream_texture_wrapper_impl_unittest.cc |
@@ -5,6 +5,7 @@ |
#include "content/renderer/media/android/stream_texture_wrapper_impl.h" |
#include "base/run_loop.h" |
+#include "base/test/scoped_task_environment.h" |
#include "base/threading/thread_task_runner_handle.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -15,7 +16,7 @@ class StreamTextureWrapperImplTest : public testing::Test { |
StreamTextureWrapperImplTest() {} |
// Necessary, or else base::ThreadTaskRunnerHandle::Get() fails. |
- base::MessageLoop message_loop_; |
+ base::test::ScopedTaskEnvironment scoped_task_environment_; |
private: |
DISALLOW_COPY_AND_ASSIGN(StreamTextureWrapperImplTest); |