Index: Source/WebCore/dom/Document.cpp |
=================================================================== |
--- Source/WebCore/dom/Document.cpp (revision 146918) |
+++ Source/WebCore/dom/Document.cpp (working copy) |
@@ -496,7 +496,6 @@ |
#if ENABLE(FONT_LOAD_EVENTS) |
, m_fontloader(0) |
#endif |
- , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsTimerFired) |
{ |
m_printing = false; |
m_paginatedForScreen = false; |
@@ -6160,26 +6159,4 @@ |
} |
#endif |
-void Document::didAssociateFormControl(Element* element) |
-{ |
- if (!frame() || !frame()->page() || !frame()->page()->chrome()->client()->shouldNotifyOnFormChanges()) |
- return; |
- m_associatedFormControls.add(element); |
- if (!m_didAssociateFormControlsTimer.isActive()) |
- m_didAssociateFormControlsTimer.startOneShot(0); |
-} |
- |
-void Document::didAssociateFormControlsTimerFired(Timer<Document>* timer) |
-{ |
- ASSERT_UNUSED(timer, timer == &m_didAssociateFormControlsTimer); |
- if (!frame() || !frame()->page()) |
- return; |
- |
- Vector<Element*> associatedFormControls; |
- copyToVector(m_associatedFormControls, associatedFormControls); |
- |
- frame()->page()->chrome()->client()->didAssociateFormControls(associatedFormControls); |
- m_associatedFormControls.clear(); |
-} |
- |
} // namespace WebCore |