Chromium Code Reviews| 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); |
|
haraken
2014/04/25 14:30:32
It's not trivial if we can remove setForm(0), but
Mads Ager (chromium)
2014/04/28 09:45:21
Yes, exactly.
|
| @@ -166,6 +167,7 @@ HTMLInputElement::~HTMLInputElement() |
| document().formController().radioButtonGroupScope().removeButton(this); |
| if (m_hasTouchEventHandler) |
| document().didRemoveTouchEventHandler(this); |
| +#endif |
| } |
| const AtomicString& HTMLInputElement::name() const |