Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 7952c58f83be743b8803e9610ed433ab59f45558..03bb788a82123d35f12d842f94d1dfe6c684e543 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 |