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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp

Issue 2327643003: Replace ASSERT*() with DCHECK*() in core/fetch/ and core/loader/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ASSERT_UNUSED Created 4 years, 3 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: third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp b/third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp
index b5d7a9d326369a52689ce5a6a09e601e67560d54..441965c1e3f95a50b4187028a8eaca0cedf92592 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoaderStateMachine.cpp
@@ -61,7 +61,7 @@ bool FrameLoaderStateMachine::isDisplayingInitialEmptyDocument() const
void FrameLoaderStateMachine::advanceTo(State state)
{
- ASSERT(m_state < state);
+ DCHECK(m_state < state);
yhirano 2016/09/12 04:33:13 DCHECK_LT
hiroshige 2016/09/13 08:43:20 Done.
m_state = state;
}
@@ -77,7 +77,7 @@ String FrameLoaderStateMachine::toString() const
case CommittedMultipleRealLoads:
return "CommittedMultipleRealLoads";
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
return "";
}

Powered by Google App Engine
This is Rietveld 408576698