Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index 5f3afe1f9c9fd5a623edef8521ecb3efa2664e0f..3a02217a6ec7ade7a669206bf70277fa86619d3c 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -965,8 +965,6 @@ bool RenderViewHostImpl::OnMessageReceived(const IPC::Message& msg) { |
IPC_MESSAGE_HANDLER(ViewHostMsg_FocusedNodeChanged, OnFocusedNodeChanged) |
IPC_MESSAGE_HANDLER(ViewHostMsg_ClosePage_ACK, OnClosePageACK) |
IPC_MESSAGE_HANDLER(ViewHostMsg_DidZoomURL, OnDidZoomURL) |
- IPC_MESSAGE_HANDLER(ViewHostMsg_PageScaleFactorIsOneChanged, |
- OnPageScaleFactorIsOneChanged) |
IPC_MESSAGE_HANDLER(ViewHostMsg_RunFileChooser, OnRunFileChooser) |
IPC_MESSAGE_HANDLER(ViewHostMsg_FocusedNodeTouched, OnFocusedNodeTouched) |
// Have the super handle all other messages. |
@@ -1395,19 +1393,6 @@ void RenderViewHostImpl::OnDidZoomURL(double zoom_level, |
net::GetHostOrSpecFromURL(url)); |
} |
-void RenderViewHostImpl::OnPageScaleFactorIsOneChanged(bool is_one) { |
- if (!GetSiteInstance()) |
- return; |
- HostZoomMapImpl* host_zoom_map = |
- static_cast<HostZoomMapImpl*>(HostZoomMap::Get(GetSiteInstance())); |
- if (!host_zoom_map) |
- return; |
- if (!GetProcess()) |
- return; |
- host_zoom_map->SetPageScaleFactorIsOneForView(GetProcess()->GetID(), |
- GetRoutingID(), is_one); |
-} |
- |
void RenderViewHostImpl::OnRunFileChooser(const FileChooserParams& params) { |
// Do not allow messages with absolute paths in them as this can permit a |
// renderer to coerce the browser to perform I/O on a renderer controlled |