Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Unified Diff: content/browser/frame_host/navigation_entry_impl.cc

Issue 1421483005: Reland: Remove DCHECK_IMPLIES/CHECK_IMPLIES. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigation_entry_impl.cc
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
index 3b1f6d85cf295e3414df9b5dbb08c7cdd07610c9..3c20692e03c50312f30edc0e96f0d122e6788369 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -602,8 +602,8 @@ NavigationEntryImpl::TreeNode* NavigationEntryImpl::FindFrameEntry(
work_queue.pop();
if (node->MatchesFrame(frame_tree_node)) {
// Only the root TreeNode should have a FTN ID of -1.
- DCHECK_IMPLIES(node->frame_entry->frame_tree_node_id() == -1,
- node == root_node());
+ DCHECK(node->frame_entry->frame_tree_node_id() != -1 ||
+ node == root_node());
return node;
}
// Enqueue any children and keep looking.
« no previous file with comments | « components/tracing/child_memory_dump_manager_delegate_impl.h ('k') | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698