Chromium Code Reviews| Index: content/browser/frame_host/navigation_controller_impl.cc |
| diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
| index 4be5a3ce4a009f07a74d87de92730bec3740c2b7..7a182275e8517de0c821ece1e5c0efa7148ade8f 100644 |
| --- a/content/browser/frame_host/navigation_controller_impl.cc |
| +++ b/content/browser/frame_host/navigation_controller_impl.cc |
| @@ -27,6 +27,7 @@ |
| #include "content/common/view_messages.h" |
| #include "content/public/browser/browser_context.h" |
| #include "content/public/browser/content_browser_client.h" |
| +#include "content/public/browser/host_zoom_map.h" |
| #include "content/public/browser/invalidate_type.h" |
| #include "content/public/browser/navigation_details.h" |
| #include "content/public/browser/notification_service.h" |
| @@ -1060,8 +1061,10 @@ void NavigationControllerImpl::RendererDidNavigateToNewPage( |
| update_virtual_url = needs_update; |
| } |
| - if (params.url_is_unreachable) |
| + if (params.url_is_unreachable) { |
| new_entry->set_page_type(PAGE_TYPE_ERROR); |
| + HostZoomMap::SendErrorPageZoomLevelRefresh(GetWebContents()); |
|
Charlie Reis
2014/10/28 16:36:21
This doesn't seem to belong here, since zoom is un
wjmaclean
2014/10/28 17:37:04
Done.
|
| + } |
| new_entry->SetURL(params.url); |
| if (update_virtual_url) |
| UpdateVirtualURLToURL(new_entry, params.url); |