| 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 08555a3f9c5714cf6bfab46bbce3a8887d95cdc7..d34be5d18f4301301bc8516dcf4fe6d90cda8512 100644
|
| --- a/content/browser/frame_host/navigation_controller_impl.cc
|
| +++ b/content/browser/frame_host/navigation_controller_impl.cc
|
| @@ -821,7 +821,6 @@ bool NavigationControllerImpl::RendererDidNavigate(
|
|
|
| // Do navigation-type specific actions. These will make and commit an entry.
|
| details->type = ClassifyNavigation(rfh, params);
|
| -#if DCHECK_IS_ON()
|
| // For site-per-process, both ClassifyNavigation methods get it wrong (see
|
| // http://crbug.com/464014) so don't worry about a mismatch if that's the
|
| // case.
|
| @@ -833,10 +832,9 @@ bool NavigationControllerImpl::RendererDidNavigate(
|
| // TODO(avi): Work this out.
|
| if (details->type != NAVIGATION_TYPE_SAME_PAGE &&
|
| new_type != NAVIGATION_TYPE_SAME_PAGE) {
|
| - DCHECK_EQ(details->type, new_type);
|
| + CHECK_EQ(details->type, new_type);
|
| }
|
| }
|
| -#endif // DCHECK_IS_ON()
|
|
|
| // is_in_page must be computed before the entry gets committed.
|
| details->is_in_page = AreURLsInPageNavigation(rfh->GetLastCommittedURL(),
|
|
|