| Index: third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| index 9dc31957b8291babe5059ad319c71c9bc1385618..e0094599748743d3198ce7e963cb7a80e2c1c627 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| @@ -626,11 +626,11 @@ void HTMLTextAreaElement::accessKeyAction(bool) {
|
| }
|
|
|
| void HTMLTextAreaElement::setCols(unsigned cols) {
|
| - setUnsignedIntegralAttribute(colsAttr, cols);
|
| + setUnsignedIntegralAttribute(colsAttr, cols ? cols : defaultCols);
|
| }
|
|
|
| void HTMLTextAreaElement::setRows(unsigned rows) {
|
| - setUnsignedIntegralAttribute(rowsAttr, rows);
|
| + setUnsignedIntegralAttribute(rowsAttr, rows ? rows : defaultRows);
|
| }
|
|
|
| bool HTMLTextAreaElement::matchesReadOnlyPseudoClass() const {
|
|
|