Index: chrome/browser/renderer_host/render_view_host.cc |
=================================================================== |
--- chrome/browser/renderer_host/render_view_host.cc (revision 41858) |
+++ chrome/browser/renderer_host/render_view_host.cc (working copy) |
@@ -975,8 +975,6 @@ |
FilterURL(policy, renderer_id, &validated_params.password_form.action); |
delegate_->DidNavigate(this, validated_params); |
- |
- UpdateBackForwardListCount(); |
} |
void RenderViewHost::OnMsgUpdateState(int32 page_id, |
@@ -1506,18 +1504,6 @@ |
integration_delegate->OnCrashedPlugin(plugin_path); |
} |
-void RenderViewHost::UpdateBackForwardListCount() { |
- int back_list_count = 0, forward_list_count = 0; |
- RenderViewHostDelegate::BrowserIntegration* integration_delegate = |
- delegate_->GetBrowserIntegrationDelegate(); |
- if (integration_delegate) { |
- integration_delegate->GetHistoryListCount(&back_list_count, |
- &forward_list_count); |
- Send(new ViewMsg_UpdateBackForwardListCount( |
- routing_id(), back_list_count, forward_list_count)); |
- } |
-} |
- |
void RenderViewHost::GetAllSavableResourceLinksForCurrentPage( |
const GURL& page_url) { |
Send(new ViewMsg_GetAllSavableResourceLinksForCurrentPage(routing_id(), |