| 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 fae4a33bc682b8e4ec8f4e6e39d428134bdb4a6b..854c10c2fac3e86a50d944b7f29a8d768c3b19ef 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -37,7 +37,6 @@
|
| #include "content/browser/gpu/compositor_util.h"
|
| #include "content/browser/gpu/gpu_data_manager_impl.h"
|
| #include "content/browser/gpu/gpu_process_host.h"
|
| -#include "content/browser/host_zoom_map_impl.h"
|
| #include "content/browser/loader/resource_dispatcher_host_impl.h"
|
| #include "content/browser/renderer_host/input/timeout_monitor.h"
|
| #include "content/browser/renderer_host/render_process_host_impl.h"
|
| @@ -101,6 +100,10 @@
|
| #include "ui/gfx/platform_font_win.h"
|
| #endif
|
|
|
| +#if !defined(OS_ANDROID)
|
| +#include "content/browser/host_zoom_map_impl.h"
|
| +#endif
|
| +
|
| using base::TimeDelta;
|
| using blink::WebConsoleMessage;
|
| using blink::WebInputEvent;
|
| @@ -839,11 +842,13 @@ void RenderViewHostImpl::OnDocumentAvailableInMainFrame(
|
| if (!uses_temporary_zoom_level)
|
| return;
|
|
|
| +#if !defined(OS_ANDROID)
|
| HostZoomMapImpl* host_zoom_map =
|
| static_cast<HostZoomMapImpl*>(HostZoomMap::Get(GetSiteInstance()));
|
| host_zoom_map->SetTemporaryZoomLevel(GetProcess()->GetID(),
|
| GetRoutingID(),
|
| host_zoom_map->GetDefaultZoomLevel());
|
| +#endif // !defined(OS_ANDROID)
|
| }
|
|
|
| void RenderViewHostImpl::OnDidContentsPreferredSizeChange(
|
|
|