Index: content/browser/renderer_host/media/video_capture_host_unittest.cc |
diff --git a/content/browser/renderer_host/media/video_capture_host_unittest.cc b/content/browser/renderer_host/media/video_capture_host_unittest.cc |
index bc5ed577a24c9c5047d989d6148d203fef56e816..ee7aeaa5f86e8c24a9d3404f1f1c87909ae0b3d6 100644 |
--- a/content/browser/renderer_host/media/video_capture_host_unittest.cc |
+++ b/content/browser/renderer_host/media/video_capture_host_unittest.cc |
@@ -296,7 +296,7 @@ class VideoCaptureHostTest : public testing::Test { |
// Create a Host and connect it to a simulated IPC channel. |
host_ = new MockVideoCaptureHost(media_stream_manager_.get()); |
- host_->OnChannelConnected(base::GetCurrentProcId()); |
+ host_->OnSenderConnected(); |
OpenSession(); |
} |
@@ -309,8 +309,8 @@ class VideoCaptureHostTest : public testing::Test { |
CloseSession(); |
- // Simulate closing the IPC channel. |
- host_->OnChannelClosing(); |
+ // Simulate closing the IPC sender. |
+ host_->OnSenderClosing(); |
// Release the reference to the mock object. The object will be destructed |
// on the current message loop. |