Chromium Code Reviews| Index: Source/core/html/FormAssociatedElement.cpp | 
| diff --git a/Source/core/html/FormAssociatedElement.cpp b/Source/core/html/FormAssociatedElement.cpp | 
| index ffb7151311a819c639d716cc4bc03bb9b2f45630..f3846ca5f1d1ce5786b11b5bc221dc8be092c739 100644 | 
| --- a/Source/core/html/FormAssociatedElement.cpp | 
| +++ b/Source/core/html/FormAssociatedElement.cpp | 
| @@ -162,11 +162,7 @@ void FormAssociatedElement::setForm(HTMLFormElement* newForm) | 
| #endif | 
| m_form->associate(*this); | 
| } else { | 
| -#if ENABLE(OILPAN) | 
| m_form = nullptr; | 
| -#else | 
| - m_form = WeakPtr<HTMLFormElement>(); | 
| -#endif | 
| } | 
| didChangeForm(); | 
| } |