Index: chrome/renderer/media/mock_webrtc_logging_message_filter.cc |
diff --git a/chrome/renderer/media/mock_webrtc_logging_message_filter.cc b/chrome/renderer/media/mock_webrtc_logging_message_filter.cc |
index ee0d12c6304c925e46d2b435c985810bc7c34e59..e5104a6344d1710dd28b1859c04ad335e79f63ec 100644 |
--- a/chrome/renderer/media/mock_webrtc_logging_message_filter.cc |
+++ b/chrome/renderer/media/mock_webrtc_logging_message_filter.cc |
@@ -5,11 +5,11 @@ |
#include "chrome/renderer/media/mock_webrtc_logging_message_filter.h" |
#include "base/logging.h" |
-#include "base/message_loop/message_loop_proxy.h" |
+#include "base/single_thread_task_runner.h" |
MockWebRtcLoggingMessageFilter::MockWebRtcLoggingMessageFilter( |
- const scoped_refptr<base::MessageLoopProxy>& io_message_loop) |
- : WebRtcLoggingMessageFilter(io_message_loop), |
+ const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner) |
+ : WebRtcLoggingMessageFilter(io_task_runner), |
logging_stopped_(false) { |
} |
@@ -18,12 +18,12 @@ MockWebRtcLoggingMessageFilter::~MockWebRtcLoggingMessageFilter() { |
void MockWebRtcLoggingMessageFilter::AddLogMessages( |
const std::vector<WebRtcLoggingMessageData>& messages) { |
- CHECK(io_message_loop_->BelongsToCurrentThread()); |
+ CHECK(io_task_runner_->BelongsToCurrentThread()); |
for (size_t i = 0; i < messages.size(); ++i) |
log_buffer_ += messages[i].message + "\n"; |
} |
void MockWebRtcLoggingMessageFilter::LoggingStopped() { |
- CHECK(io_message_loop_->BelongsToCurrentThread()); |
+ CHECK(io_task_runner_->BelongsToCurrentThread()); |
logging_stopped_ = true; |
} |