Index: chrome/browser/renderer_host/mock_render_process_host.cc |
=================================================================== |
--- chrome/browser/renderer_host/mock_render_process_host.cc (revision 42691) |
+++ chrome/browser/renderer_host/mock_render_process_host.cc (working copy) |
@@ -73,14 +73,14 @@ |
bool MockRenderProcessHost::SendWithTimeout(IPC::Message* msg, int timeout_ms) { |
// Save the message in the sink. Just ignore timeout_ms. |
- sink_.Send(msg); |
+ sink_.OnMessageReceived(*msg); |
delete msg; |
return true; |
} |
bool MockRenderProcessHost::Send(IPC::Message* msg) { |
// Save the message in the sink. |
- sink_.Send(msg); |
+ sink_.OnMessageReceived(*msg); |
delete msg; |
return true; |
} |