Index: third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl |
index 0d38a40944e76837d6492696ce6117d23bf5e910..bf79041f39c1827546478e6f4e99edea75b2d4a4 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl |
@@ -41,7 +41,7 @@ void StyleBuilder::ApplyProperty(CSSPropertyID property, |
{% endfor %} |
{ |
CSSPropertyID resolvedProperty = CSSProperty::ResolveDirectionAwareProperty(property, state.Style()->Direction(), state.Style()->GetWritingMode()); |
- ASSERT(resolvedProperty != property); |
+ DCHECK_NE(resolvedProperty, property); |
ApplyProperty(resolvedProperty, state, value); |
return; |
} |