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 979b26c1dc5603b12adb1edc1907ea5a08cc41aa..716db64baf6d28c22154c53eb0d08999aaff675e 100644 |
| --- a/content/browser/frame_host/navigation_controller_impl.cc |
| +++ b/content/browser/frame_host/navigation_controller_impl.cc |
| @@ -1124,6 +1124,8 @@ void NavigationControllerImpl::RendererDidNavigateToExistingPage( |
| NavigationEntryImpl* entry = entries_[entry_index].get(); |
| // The URL may have changed due to redirects. |
| + if (params.url_is_unreachable) |
| + entry->set_page_type(PAGE_TYPE_ERROR); |
|
Charlie Reis
2015/02/12 21:57:47
Seems reasonable to me. What about the other Rend
|
| entry->SetURL(params.url); |
| entry->SetReferrer(params.referrer); |
| if (entry->update_virtual_url_with_url()) |