⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 119473 in webkit


Ignore:
Timestamp:
Jun 5, 2012, 2:34:35 AM (14 years ago)
Author:
tkent@chromium.org
Message:

Remove unused function: Document::formElements
https://bugs.webkit.org/show_bug.cgi?id=88272

Reviewed by Kentaro Hara.

No new tests. No behavior change.

  • dom/Document.h:

(Document): remove formElements(). It was used for radio group
validation, but the current code doesn't use it any more.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r119471 r119473  
     12012-06-05  Kent Tamura  <tkent@chromium.org>
     2
     3        Remove unused function: Document::formElements
     4        https://bugs.webkit.org/show_bug.cgi?id=88272
     5
     6        Reviewed by Kentaro Hara.
     7
     8        No new tests. No behavior change.
     9
     10        * dom/Document.h:
     11        (Document): remove formElements(). It was used for radio group
     12        validation, but the current code doesn't use it any more.
     13
    1142012-06-05  Kenichi Ishibashi  <bashi@chromium.org>
    215
  • trunk/Source/WebCore/dom/Document.h

    r119330 r119473  
    542542    bool hasStateForNewFormElements() const;
    543543    bool takeStateForFormElement(AtomicStringImpl* name, AtomicStringImpl* type, String& state);
    544     typedef ListHashSet<HTMLFormControlElementWithState*, 64> FormElementListHashSet;
    545     const FormElementListHashSet* formElements() const { return &m_formElementsWithState; }
    546544
    547545    void registerFormElementWithFormAttribute(FormAssociatedElement*);
     
    13321330    StyleSheetCandidateListHashSet m_styleSheetCandidateNodes; // All of the nodes that could potentially provide stylesheets to the document (<link>, <style>, <?xml-stylesheet>)
    13331331
     1332    typedef ListHashSet<HTMLFormControlElementWithState*, 64> FormElementListHashSet;
    13341333    FormElementListHashSet m_formElementsWithState;
    13351334    typedef ListHashSet<RefPtr<FormAssociatedElement>, 32> FormAssociatedElementListHashSet;
Note: See TracChangeset for help on using the changeset viewer.