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 df7e4ede8dbdfcf8b84a20166e2355829021a385..d2e6d491fdd40a621658b4a53f8c523d86bbeed7 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; |