Changeset 259543 in webkit
- Timestamp:
- Apr 4, 2020, 9:16:19 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
html/HTMLFormElement.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r259541 r259543 1 2020-04-04 David Kilzer <ddkilzer@apple.com> 2 3 Build fix v2: HTMLFormElement should use WeakPtr to keep track of its FormNamedItem 4 https://bugs.webkit.org/show_bug.cgi?id=209925 5 6 * html/HTMLFormElement.cpp: 7 (WebCore::HTMLFormElement::elementFromPastNamesMap const): 8 (WebCore::HTMLFormElement::addToPastNamesMap): 9 - Apply macros consistently. Regressed in r259513 and was 10 not fixed by r259527. 11 1 12 2020-04-04 Wenson Hsieh <wenson_hsieh@apple.com> 2 13 -
trunk/Source/WebCore/html/HTMLFormElement.cpp
r259527 r259543 765 765 } 766 766 767 #if ASSERT_ENABLED || ENABLE(SECURITY_ASSERTIONS)767 #if ASSERT_ENABLED 768 768 void HTMLFormElement::assertItemCanBeInPastNamesMap(FormNamedItem* item) const 769 769 { … … 790 790 return nullptr; 791 791 auto element = makeRefPtr(weakElement.get()); 792 #if ASSERT_ENABLED || ENABLE(SECURITY_ASSERTIONS)792 #if ASSERT_ENABLED 793 793 assertItemCanBeInPastNamesMap(element->asFormNamedItem()); 794 794 #endif … … 798 798 void HTMLFormElement::addToPastNamesMap(FormNamedItem* item, const AtomString& pastName) 799 799 { 800 #if ASSERT_ENABLED || ENABLE(SECURITY_ASSERTIONS)800 #if ASSERT_ENABLED 801 801 assertItemCanBeInPastNamesMap(item); 802 802 #endif
Note:
See TracChangeset
for help on using the changeset viewer.