Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
index 49cacf9af360f7bfd48001671085b6633139b863..9a787db6be25e9d14b11422a9853fb72c6114f59 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -1706,7 +1706,6 @@ void HTMLInputElement::parseMaxLengthAttribute(const AtomicString& value) |
m_maxLength = maxLength; |
if (oldMaxLength != maxLength) |
updateValueIfNeeded(); |
- setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::fromAttribute(maxlengthAttr)); |
setNeedsValidityCheck(); |
} |
@@ -1718,7 +1717,6 @@ void HTMLInputElement::parseMinLengthAttribute(const AtomicString& value) |
if (minLength < 0) |
minLength = 0; |
m_minLength = minLength; |
- setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::fromAttribute(minlengthAttr)); |
setNeedsValidityCheck(); |
} |