Index: Source/core/html/HTMLTextAreaElement.cpp |
diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp |
index 8480199a6472428e6aefb13aeb91361ec073a5cf..7ad42d371fdce9025b9eb4be77def06a100c666c 100644 |
--- a/Source/core/html/HTMLTextAreaElement.cpp |
+++ b/Source/core/html/HTMLTextAreaElement.cpp |
@@ -572,4 +572,13 @@ bool HTMLTextAreaElement::supportsAutofocus() const |
return true; |
} |
+void HTMLTextAreaElement::detach(const AttachContext& context) |
+{ |
+ // Since we do a lazy update from renderer, do it if we have |
+ // failed to do a lazy update. Updated value will be needed |
+ // while saving the form control state. |
tkent
2014/09/03 08:04:44
I don't understand the comment.
Does the code to s
spartha
2014/09/03 08:50:57
It uses value(). It tries to update m_value in the
tkent
2014/09/03 09:11:27
Thanks. I understand.
We should remove ASSERT(ren
spartha
2014/09/03 14:47:33
Done.
|
+ updateValue(); |
+ HTMLTextFormControlElement::detach(context); |
+} |
+ |
} |