Index: content/browser/frame_host/navigation_controller_impl.cc |
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
index b1b3ef346e74d340497e5b9bd4a80b004688e812..1ded7736f1c48e42d03fbe4c105c8bc19cc6ce33 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.cc |
+++ b/content/browser/frame_host/navigation_controller_impl.cc |
@@ -1405,13 +1405,9 @@ int32 NavigationControllerImpl::GetMaxRestoredPageID() const { |
} |
bool NavigationControllerImpl::IsUnmodifiedBlankTab() const { |
- // TODO(creis): Move has_accessed_initial_document from RenderViewHost to |
- // WebContents and NavigationControllerDelegate. |
- RenderViewHostImpl* rvh = static_cast<RenderViewHostImpl*>( |
- delegate_->GetRenderViewHost()); |
return IsInitialNavigation() && |
- !GetLastCommittedEntry() && |
- !rvh->has_accessed_initial_document(); |
+ !GetLastCommittedEntry() && |
+ !delegate_->HasAccessedInitialDocument(); |
} |
SessionStorageNamespace* |