| Index: content/public/test/mock_render_thread.cc
|
| diff --git a/content/public/test/mock_render_thread.cc b/content/public/test/mock_render_thread.cc
|
| index a6ee8870dda40757803e8ae1781a9969b140dfeb..ba66d333b6dc2de5ae9b2130992cab27e4e5dcd0 100644
|
| --- a/content/public/test/mock_render_thread.cc
|
| +++ b/content/public/test/mock_render_thread.cc
|
| @@ -33,17 +33,6 @@ MockRenderThread::~MockRenderThread() {
|
| }
|
| }
|
|
|
| -void MockRenderThread::VerifyRunJavaScriptMessageSend(
|
| - const base::string16& expected_alert_message) {
|
| - const IPC::Message* alert_msg =
|
| - sink_.GetUniqueMessageMatching(ViewHostMsg_RunJavaScriptMessage::ID);
|
| - ASSERT_TRUE(alert_msg);
|
| - PickleIterator iter = IPC::SyncMessage::GetDataIterator(alert_msg);
|
| - ViewHostMsg_RunJavaScriptMessage::SendParam alert_param;
|
| - ASSERT_TRUE(IPC::ReadParam(alert_msg, &iter, &alert_param));
|
| - EXPECT_EQ(expected_alert_message, alert_param.a);
|
| -}
|
| -
|
| // Called by the Widget. Used to send messages to the browser.
|
| // We short-circuit the mechanism and handle the messages right here on this
|
| // class.
|
|
|