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 6889cd6f0bd1204de4267731f0d60ef5486f02a4..d765481705636dc7816576e2eea4c56238eb02b2 100644 |
--- a/content/browser/renderer_host/render_view_host_unittest.cc |
+++ b/content/browser/renderer_host/render_view_host_unittest.cc |
@@ -214,12 +214,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(process()->GetID(), file_path); |
+ test_rvh()->TestOnUpdateStateWithFile(-1, file_path); |
EXPECT_EQ(1, process()->bad_msg_count()); |
ChildProcessSecurityPolicyImpl::GetInstance()->GrantReadFile( |
process()->GetID(), file_path); |
- test_rvh()->TestOnUpdateStateWithFile(process()->GetID(), file_path); |
+ test_rvh()->TestOnUpdateStateWithFile(-1, file_path); |
EXPECT_EQ(1, process()->bad_msg_count()); |
} |