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

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: Rebase. 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..5aaba1cdf6dccf541122cdfabae1614391dba2d9 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_LT(m_state, state);
m_state = state;
}
@@ -77,7 +77,7 @@ String FrameLoaderStateMachine::toString() const
case CommittedMultipleRealLoads:
return "CommittedMultipleRealLoads";
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
return "";
}
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/core/loader/HistoryItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698