Changeset 118664 in webkit
- Timestamp:
- May 28, 2012, 2:54:00 AM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
html/HTMLFormControlElement.cpp (modified) (2 diffs)
-
html/HTMLFormControlElement.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r118662 r118664 1 2012-05-28 MORITA Hajime <morrita@google.com> 2 3 HTMLFormControlElement::m_validationMessage shouldn't be cleared on detach() 4 https://bugs.webkit.org/show_bug.cgi?id=87608 5 6 Reviewed by Kent Tamura. 7 8 Moved m_validationMessage clearance from detach() to removedFrom() and 9 remove detach(). 10 11 No new tests. This change has no visible difference. Upcoming changes rely on this though. 12 13 * html/HTMLFormControlElement.cpp: 14 (WebCore::HTMLFormControlElement::removedFrom): 15 1 16 2012-05-28 Yury Semikhatsky <yurys@chromium.org> 2 17 -
trunk/Source/WebCore/html/HTMLFormControlElement.cpp
r118501 r118664 71 71 } 72 72 73 void HTMLFormControlElement::detach()74 {75 m_validationMessage = nullptr;76 HTMLElement::detach();77 }78 79 73 String HTMLFormControlElement::formEnctype() const 80 74 { … … 234 228 void HTMLFormControlElement::removedFrom(ContainerNode* insertionPoint) 235 229 { 230 m_validationMessage = nullptr; 236 231 m_fieldSetAncestorValid = false; 237 232 m_dataListAncestorState = Unknown; -
trunk/Source/WebCore/html/HTMLFormControlElement.h
r118192 r118664 131 131 132 132 virtual void dispatchBlurEvent(PassRefPtr<Node> newFocusedNode); 133 virtual void detach();134 133 135 134 // This must be called any time the result of willValidate() has changed.
Note:
See TracChangeset
for help on using the changeset viewer.