Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1330)

Unified Diff: content/browser/renderer_host/render_view_host_unittest.cc

Issue 9838009: Clean up a few TODO items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_unittest.cc
diff --git a/content/browser/renderer_host/render_view_host_unittest.cc b/content/browser/renderer_host/render_view_host_unittest.cc
index 4cc338e35ddfb0e4ce2521330b10ed974ddabd30..9aedddab61315b4eb434218747827ab6985b7bef 100644
--- a/content/browser/renderer_host/render_view_host_unittest.cc
+++ b/content/browser/renderer_host/render_view_host_unittest.cc
@@ -181,7 +181,7 @@ TEST_F(RenderViewHostTest, BadMessageHandlerRenderViewHost) {
// two payload items but the one we construct has none.
IPC::Message message(0, ViewHostMsg_UpdateTargetURL::ID,
IPC::Message::PRIORITY_NORMAL);
- test_rvh()->TestOnMessageReceived(message);
+ test_rvh()->OnMessageReceived(message);
EXPECT_EQ(1, process()->bad_msg_count());
}
@@ -193,7 +193,7 @@ TEST_F(RenderViewHostTest, BadMessageHandlerRenderWidgetHost) {
// one payload item but the one we construct has none.
IPC::Message message(0, ViewHostMsg_UpdateRect::ID,
IPC::Message::PRIORITY_NORMAL);
- test_rvh()->TestOnMessageReceived(message);
+ test_rvh()->OnMessageReceived(message);
EXPECT_EQ(1, process()->bad_msg_count());
}
@@ -206,7 +206,7 @@ TEST_F(RenderViewHostTest, BadMessageHandlerInputEventAck) {
// OnMsgInputEventAck() processing.
IPC::Message message(0, ViewHostMsg_HandleInputEvent_ACK::ID,
IPC::Message::PRIORITY_NORMAL);
- test_rvh()->TestOnMessageReceived(message);
+ test_rvh()->OnMessageReceived(message);
EXPECT_EQ(1, process()->bad_msg_count());
}
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.h ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698