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 6e579595effaf5a5236b67dab11b7b3da2e01907..2a8eeb9f95cf5b56ed0b810fa115ce30a5b25373 100644 |
--- a/content/browser/renderer_host/render_view_host_unittest.cc |
+++ b/content/browser/renderer_host/render_view_host_unittest.cc |
@@ -195,12 +195,12 @@ TEST_F(RenderViewHostTest, MessageWithBadHistoryItemFiles) { |
EXPECT_TRUE(PathService::Get(base::DIR_TEMP, &file_path)); |
file_path = file_path.AppendASCII("foo"); |
EXPECT_EQ(0, process()->bad_msg_count()); |
- test_rvh()->TestOnUpdateStateWithFile(-1, file_path); |
+ test_rvh()->TestOnUpdateStateWithFile(file_path); |
EXPECT_EQ(1, process()->bad_msg_count()); |
ChildProcessSecurityPolicyImpl::GetInstance()->GrantReadFile( |
process()->GetID(), file_path); |
- test_rvh()->TestOnUpdateStateWithFile(-1, file_path); |
+ test_rvh()->TestOnUpdateStateWithFile(file_path); |
EXPECT_EQ(1, process()->bad_msg_count()); |
} |