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

Unified Diff: third_party/WebKit/Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp

Issue 2873293002: Replace ASSERT with DCHECK_EQ as appropriate (Closed)
Patch Set: rebase Created 3 years, 7 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/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp
diff --git a/third_party/WebKit/Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp b/third_party/WebKit/Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp
index ca07acf61aa055c0db464ea7d81f74c4ded7e368..ef2ae2f05f630f142a03f20cda0b907d2066b6ff 100644
--- a/third_party/WebKit/Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp
+++ b/third_party/WebKit/Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp
@@ -22,7 +22,7 @@ DeprecatedScheduleStyleRecalcDuringLayout::
// proper state. The style recalc will still have been schedule, however.
if (was_in_perform_layout_ &&
lifecycle_.GetState() != DocumentLifecycle::kInPerformLayout) {
- ASSERT(lifecycle_.GetState() == DocumentLifecycle::kVisualUpdatePending);
+ DCHECK_EQ(lifecycle_.GetState(), DocumentLifecycle::kVisualUpdatePending);
lifecycle_.AdvanceTo(DocumentLifecycle::kInPerformLayout);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMTimerCoordinator.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698