| Index: content/browser/frame_host/navigation_controller_impl_unittest.cc
|
| diff --git a/content/browser/frame_host/navigation_controller_impl_unittest.cc b/content/browser/frame_host/navigation_controller_impl_unittest.cc
|
| index 7303a6c8aba1e874dd6a4ff1db016758d5d7dc87..94f2f4545abd6fbec8ca4a68b28f06ee72716625 100644
|
| --- a/content/browser/frame_host/navigation_controller_impl_unittest.cc
|
| +++ b/content/browser/frame_host/navigation_controller_impl_unittest.cc
|
| @@ -1047,7 +1047,7 @@ TEST_F(NavigationControllerTest, LoadURL_PrivilegedPending) {
|
| kExistingURL1, Referrer(), ui::PAGE_TRANSITION_TYPED, std::string());
|
| int entry_id = controller.GetPendingEntry()->GetUniqueID();
|
| // Pretend it has bindings so we can tell if we incorrectly copy it.
|
| - main_test_rfh()->GetRenderViewHost()->AllowBindings(2);
|
| + main_test_rfh()->AllowBindings(2);
|
| main_test_rfh()->PrepareForCommit();
|
| main_test_rfh()->SendNavigate(entry_id, true, kExistingURL1);
|
| EXPECT_EQ(1U, navigation_entry_committed_counter_);
|
| @@ -1340,7 +1340,7 @@ TEST_F(NavigationControllerTest, LoadURL_WithBindings) {
|
| int entry_id = controller.GetPendingEntry()->GetUniqueID();
|
| orig_rfh->PrepareForCommit();
|
| TestRenderFrameHost* new_rfh = contents()->GetPendingMainFrame();
|
| - new_rfh->GetRenderViewHost()->AllowBindings(1);
|
| + new_rfh->AllowBindings(1);
|
| new_rfh->SendNavigate(entry_id, true, url2);
|
|
|
| // The second load should be committed, and bindings should be remembered.
|
|
|