| Index: third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp b/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| index 27fd630314c71dbd4139fa0ffcf7272c11ec0aff..6a1245995269704d45767eae1df30f866584330a 100644
|
| --- a/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| @@ -29,7 +29,6 @@
|
| #include "core/dom/NodeTraversal.h"
|
| #include "core/html/HTMLFormControlElement.h"
|
| #include "core/html/HTMLFormElement.h"
|
| -#include "core/html/HTMLLabelElement.h"
|
| #include "core/html/HTMLObjectElement.h"
|
| #include "core/html/ValidityState.h"
|
|
|
| @@ -311,8 +310,6 @@ const HTMLElement& toHTMLElement(const FormAssociatedElement& associatedElement)
|
| {
|
| if (associatedElement.isFormControlElement())
|
| return toHTMLFormControlElement(associatedElement);
|
| - if (associatedElement.isLabelElement())
|
| - return toHTMLLabelElement(associatedElement);
|
| return toHTMLObjectElement(associatedElement);
|
| }
|
|
|
|
|