| 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 24b49e0a107afb8112cbf0d4f8e7308ac74a29ae..decce0b1119f99afe528f27b4c21d068c4bc79ed 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -1082,8 +1082,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());
|
| @@ -1397,8 +1396,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(),
|
|
|