Index: Source/core/html/HTMLTextAreaElement.cpp |
diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp |
index d868e8fb49f80407d3e9e394e98cba90fd405671..f899715c07bbba0a895b8b5456ddb157655ddd77 100644 |
--- a/Source/core/html/HTMLTextAreaElement.cpp |
+++ b/Source/core/html/HTMLTextAreaElement.cpp |
@@ -162,7 +162,7 @@ void HTMLTextAreaElement::parseAttribute(const QualifiedName& name, const Atomic |
if (m_rows != rows) { |
m_rows = rows; |
if (layoutObject()) |
- layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |
+ layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::AttributeChanged); |
} |
} else if (name == colsAttr) { |
int cols = 0; |
@@ -171,7 +171,7 @@ void HTMLTextAreaElement::parseAttribute(const QualifiedName& name, const Atomic |
if (m_cols != cols) { |
m_cols = cols; |
if (LayoutObject* layoutObject = this->layoutObject()) |
- layoutObject->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |
+ layoutObject->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::AttributeChanged); |
} |
} else if (name == wrapAttr) { |
// The virtual/physical values were a Netscape extension of HTML 3.0, now deprecated. |
@@ -186,7 +186,7 @@ void HTMLTextAreaElement::parseAttribute(const QualifiedName& name, const Atomic |
if (wrap != m_wrap) { |
m_wrap = wrap; |
if (LayoutObject* layoutObject = this->layoutObject()) |
- layoutObject->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |
+ layoutObject->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::AttributeChanged); |
} |
} else if (name == accesskeyAttr) { |
// ignore for the moment |