diff options
author | Ben Murdoch <benm@google.com> | 2010-01-12 12:00:51 +0000 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2010-01-12 12:00:51 +0000 |
commit | b7fb05a66a89b833b9bf4e2ae91a80d9673300d0 (patch) | |
tree | decedef53c79617c420ae39a3e3f2dff73f9e274 /WebCore | |
parent | b5fff7f5056888a680d142d21ac5a5e1a775c4db (diff) | |
download | external_webkit-b7fb05a66a89b833b9bf4e2ae91a80d9673300d0.zip external_webkit-b7fb05a66a89b833b9bf4e2ae91a80d9673300d0.tar.gz external_webkit-b7fb05a66a89b833b9bf4e2ae91a80d9673300d0.tar.bz2 |
Cherry pick from Webkit for fix for https://bugs.webkit.org/show_bug.cgi?id=31539.
Restore the default state of a textarea correctly.
Change-Id: Id182817b7cd229e12676fd5ef55657ff6a963a4f
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/html/HTMLTextAreaElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/HTMLTextAreaElement.cpp b/WebCore/html/HTMLTextAreaElement.cpp index 8d8208d..0e8350c 100644 --- a/WebCore/html/HTMLTextAreaElement.cpp +++ b/WebCore/html/HTMLTextAreaElement.cpp @@ -95,7 +95,7 @@ bool HTMLTextAreaElement::saveFormControlState(String& result) const void HTMLTextAreaElement::restoreFormControlState(const String& state) { - setDefaultValue(state); + setValue(state); } void HTMLTextAreaElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) |