Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 37d8a7a09afeedaeb303b5a3907ad09ac5b27298..2de38acbd6a7c4ce11595c30565d4aff47dd10b9 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -157,6 +157,7 @@ void HTMLInputElement::willAddFirstAuthorShadowRoot() |
HTMLInputElement::~HTMLInputElement() |
{ |
+#if !ENABLE(OILPAN) |
// Need to remove form association while this is still an HTMLInputElement |
// so that virtual functions are called correctly. |
setForm(0); |
@@ -166,6 +167,7 @@ HTMLInputElement::~HTMLInputElement() |
document().formController().radioButtonGroupScope().removeButton(this); |
if (m_hasTouchEventHandler) |
document().didRemoveTouchEventHandler(this); |
+#endif |
} |
const AtomicString& HTMLInputElement::name() const |