Index: Source/core/html/HTMLTextAreaElement.cpp |
diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp |
index 8f7d9dc176bf6a8c8b6d993acedc112c9e523bae..9028d656f8ac2c20a365bc4b824a91b6bf66a3e2 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 |