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

Unified Diff: third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: All windows error are Resolved now. Created 3 years, 9 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/css/resolver/SharedStyleFinder.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
index b5d88e7b0d16f7c339d45009e1b7dda396d470d4..804ececde31728fe95684a29cde8ff20df76d328 100644
--- a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
@@ -280,7 +280,7 @@ bool SharedStyleFinder::canShareStyleWithElement(Element& candidate) const {
return false;
bool isControl = candidate.isFormControlElement();
- ASSERT(isControl == element().isFormControlElement());
+ DCHECK_EQ(isControl, element().isFormControlElement());
if (isControl && !canShareStyleWithControl(candidate))
return false;

Powered by Google App Engine
This is Rietveld 408576698