Title: [119473] trunk/Source/WebCore
- Revision
- 119473
- Author
- [email protected]
- Date
- 2012-06-05 02:34:35 -0700 (Tue, 05 Jun 2012)
Log 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.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (119472 => 119473)
--- trunk/Source/WebCore/ChangeLog 2012-06-05 09:33:33 UTC (rev 119472)
+++ trunk/Source/WebCore/ChangeLog 2012-06-05 09:34:35 UTC (rev 119473)
@@ -1,3 +1,16 @@
+2012-06-05 Kent Tamura <[email protected]>
+
+ 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.
+
2012-06-05 Kenichi Ishibashi <[email protected]>
Unreviewed build fix on Chromium mac
Modified: trunk/Source/WebCore/dom/Document.h (119472 => 119473)
--- trunk/Source/WebCore/dom/Document.h 2012-06-05 09:33:33 UTC (rev 119472)
+++ trunk/Source/WebCore/dom/Document.h 2012-06-05 09:34:35 UTC (rev 119473)
@@ -541,8 +541,6 @@
void setStateForNewFormElements(const Vector<String>&);
bool hasStateForNewFormElements() const;
bool takeStateForFormElement(AtomicStringImpl* name, AtomicStringImpl* type, String& state);
- typedef ListHashSet<HTMLFormControlElementWithState*, 64> FormElementListHashSet;
- const FormElementListHashSet* formElements() const { return &m_formElementsWithState; }
void registerFormElementWithFormAttribute(FormAssociatedElement*);
void unregisterFormElementWithFormAttribute(FormAssociatedElement*);
@@ -1331,6 +1329,7 @@
typedef ListHashSet<Node*, 32> StyleSheetCandidateListHashSet;
StyleSheetCandidateListHashSet m_styleSheetCandidateNodes; // All of the nodes that could potentially provide stylesheets to the document (<link>, <style>, <?xml-stylesheet>)
+ typedef ListHashSet<HTMLFormControlElementWithState*, 64> FormElementListHashSet;
FormElementListHashSet m_formElementsWithState;
typedef ListHashSet<RefPtr<FormAssociatedElement>, 32> FormAssociatedElementListHashSet;
FormAssociatedElementListHashSet m_formElementsWithFormAttribute;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes