Index: chrome/browser/renderer_host/mock_render_process_host.cc |
diff --git a/chrome/browser/renderer_host/mock_render_process_host.cc b/chrome/browser/renderer_host/mock_render_process_host.cc |
index b18cc50d8bb0f23029e8f49514f79c88e80ff685..7319c99afc658bac9706aa55bfa2cb08bae01c65 100644 |
--- a/chrome/browser/renderer_host/mock_render_process_host.cc |
+++ b/chrome/browser/renderer_host/mock_render_process_host.cc |
@@ -73,14 +73,14 @@ bool MockRenderProcessHost::FastShutdownIfPossible() { |
bool MockRenderProcessHost::SendWithTimeout(IPC::Message* msg, int timeout_ms) { |
// Save the message in the sink. Just ignore timeout_ms. |
- sink_.OnMessageReceived(*msg); |
+ sink_.Send(msg); |
delete msg; |
return true; |
} |
bool MockRenderProcessHost::Send(IPC::Message* msg) { |
// Save the message in the sink. |
- sink_.OnMessageReceived(*msg); |
+ sink_.Send(msg); |
delete msg; |
return true; |
} |