Index: Source/core/html/HTMLFormControlElement.h |
diff --git a/Source/core/html/HTMLFormControlElement.h b/Source/core/html/HTMLFormControlElement.h |
index d357cf131b894a638187a99ab3e275c251091f2b..bc8f2e0555d4ba86be4dd792b2e5f11001cf3488 100644 |
--- a/Source/core/html/HTMLFormControlElement.h |
+++ b/Source/core/html/HTMLFormControlElement.h |
@@ -181,6 +181,8 @@ private: |
// Cache of valid(). |
// But "candidate for constraint validation" doesn't affect m_isValid. |
bool m_isValid : 1; |
+ // Dirty flag that controls updating valid() cache. |
+ bool m_validityIsDirty : 1; |
bool m_wasChangedSinceLastFormControlChangeEvent : 1; |
bool m_wasFocusedByMouse : 1; |