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 3b53e5844f1548ed984d2a1bfb7e6bc31a18fa66..4be5a3ce4a009f07a74d87de92730bec3740c2b7 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.cc |
+++ b/content/browser/frame_host/navigation_controller_impl.cc |
@@ -1060,6 +1060,8 @@ void NavigationControllerImpl::RendererDidNavigateToNewPage( |
update_virtual_url = needs_update; |
} |
+ if (params.url_is_unreachable) |
+ new_entry->set_page_type(PAGE_TYPE_ERROR); |
new_entry->SetURL(params.url); |
if (update_virtual_url) |
UpdateVirtualURLToURL(new_entry, params.url); |