Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(741)

Unified Diff: Source/core/html/HTMLTextAreaElement.h

Issue 460343004: Fix update of validity cache value, so that it reflects the correct state of any FormControlElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP2 Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLTextAreaElement.h
diff --git a/Source/core/html/HTMLTextAreaElement.h b/Source/core/html/HTMLTextAreaElement.h
index b5f9ffb4b5f7320263d27d014696545f513cf86c..17e646a2bba4d34b9fdef5a5de525d20dae2466c 100644
--- a/Source/core/html/HTMLTextAreaElement.h
+++ b/Source/core/html/HTMLTextAreaElement.h
@@ -74,7 +74,6 @@ private:
void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) const;
static String sanitizeUserInputValue(const String&, unsigned maxLength);
void updateValue() const;
- virtual void setInnerEditorValue(const String&) OVERRIDE;
void setNonDirtyValue(const String&);
void setValueCommon(const String&, TextFieldEventBehavior, SelectionOption = NotChangeSelection);
@@ -128,7 +127,6 @@ private:
WrapMethod m_wrap;
mutable String m_value;
mutable bool m_isDirty;
- bool m_valueIsUpToDate;
spartha 2014/09/02 14:09:55 The flag is set in subTreeChanged() and the value
tkent 2014/09/03 02:16:35 Don't change this. The change will cause performa
spartha 2014/09/03 06:14:47 I have not come across m_valueIsUpToDate being set
tkent 2014/09/03 07:56:43 - If willValidate() is false, updateValue() should
String m_suggestedValue;
};

Powered by Google App Engine
This is Rietveld 408576698