diff options
Diffstat (limited to 'chrome/common/ipc_test_sink.cc')
-rw-r--r-- | chrome/common/ipc_test_sink.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/ipc_test_sink.cc b/chrome/common/ipc_test_sink.cc index 6a0e45b..2979e6a 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() { |