Index: Source/WebCore/html/HTMLInputElement.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLInputElement.cpp (revision 138265) |
+++ Source/WebCore/html/HTMLInputElement.cpp (working copy) |
@@ -163,7 +163,7 @@ |
document()->formController()->checkedRadioButtons().removeButton(this); |
#if ENABLE(TOUCH_EVENTS) |
if (m_hasTouchEventHandler) |
- document()->didRemoveTouchEventHandler(); |
+ document()->didRemoveTouchEventHandler(this); |
#endif |
} |
@@ -489,9 +489,9 @@ |
bool hasTouchEventHandler = m_inputType->hasTouchEventHandler(); |
if (hasTouchEventHandler != m_hasTouchEventHandler) { |
if (hasTouchEventHandler) |
- document()->didAddTouchEventHandler(); |
+ document()->didAddTouchEventHandler(this); |
else |
- document()->didRemoveTouchEventHandler(); |
+ document()->didRemoveTouchEventHandler(this); |
m_hasTouchEventHandler = hasTouchEventHandler; |
} |
#endif |