| 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 6f98bf5e08c1334fe2aa26e350f60493fd2e6454..df192a21fd5fd3b76f05164ad2d3146d9717f64d 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -1099,8 +1099,7 @@ void RenderViewHostImpl::OnDocumentAvailableInMainFrame(
|
| return;
|
|
|
| HostZoomMapImpl* host_zoom_map =
|
| - static_cast<HostZoomMapImpl*>(HostZoomMap::GetDefaultForBrowserContext(
|
| - GetProcess()->GetBrowserContext()));
|
| + static_cast<HostZoomMapImpl*>(HostZoomMap::Get(GetSiteInstance()));
|
| host_zoom_map->SetTemporaryZoomLevel(GetProcess()->GetID(),
|
| GetRoutingID(),
|
| host_zoom_map->GetDefaultZoomLevel());
|
| @@ -1415,8 +1414,7 @@ void RenderViewHostImpl::NotifyMoveOrResizeStarted() {
|
| void RenderViewHostImpl::OnDidZoomURL(double zoom_level,
|
| const GURL& url) {
|
| HostZoomMapImpl* host_zoom_map =
|
| - static_cast<HostZoomMapImpl*>(HostZoomMap::GetDefaultForBrowserContext(
|
| - GetProcess()->GetBrowserContext()));
|
| + static_cast<HostZoomMapImpl*>(HostZoomMap::Get(GetSiteInstance()));
|
|
|
| host_zoom_map->SetZoomLevelForView(GetProcess()->GetID(),
|
| GetRoutingID(),
|
|
|