| 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 c98dc62405d20561af5d9e030acaf70b3e082d50..7ec5251c859e225cea4697db5fe9e42425fa028e 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -951,8 +951,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.
|
| @@ -1383,19 +1381,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
|
|
|