Index: chrome/common/ipc_test_sink.cc |
diff --git a/chrome/common/ipc_test_sink.cc b/chrome/common/ipc_test_sink.cc |
index 6a0e45b143270333b27d4b49e962dcdad352ad91..2979e6ac7c273609de7147e9aa4a50588fe51546 100644 |
--- a/chrome/common/ipc_test_sink.cc |
+++ b/chrome/common/ipc_test_sink.cc |
@@ -12,8 +12,9 @@ TestSink::TestSink() { |
TestSink::~TestSink() { |
} |
-void TestSink::OnMessageReceived(const Message& msg) { |
- messages_.push_back(Message(msg)); |
+bool TestSink::Send(Message* msg) { |
+ messages_.push_back(Message(*msg)); |
+ return true; |
} |
void TestSink::ClearMessages() { |