| Index: third_party/WebKit/Source/core/html/HTMLObjectElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLObjectElement.h b/third_party/WebKit/Source/core/html/HTMLObjectElement.h
|
| index bcac853ac535261c6257fa2d664870acc4e23597..e1eedf6dbec591dba2ad778aa2781245d8c4758e 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLObjectElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLObjectElement.h
|
| @@ -115,7 +115,6 @@ template<typename T> inline const T* toElement(const FormAssociatedElement*);
|
| template<> inline const HTMLObjectElement* toElement<HTMLObjectElement>(const FormAssociatedElement* element)
|
| {
|
| ASSERT_WITH_SECURITY_IMPLICATION(!element || !element->isFormControlElement());
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!element || !element->isLabelElement());
|
| const HTMLObjectElement* objectElement = static_cast<const HTMLObjectElement*>(element);
|
| // We need to assert after the cast because FormAssociatedElement doesn't
|
| // have hasTagName.
|
| @@ -126,7 +125,6 @@ template<> inline const HTMLObjectElement* toElement<HTMLObjectElement>(const Fo
|
| template<> inline const HTMLObjectElement& toElement<HTMLObjectElement>(const FormAssociatedElement& element)
|
| {
|
| ASSERT_WITH_SECURITY_IMPLICATION(!element.isFormControlElement());
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!element.isLabelElement());
|
| const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement&>(element);
|
| // We need to assert after the cast because FormAssociatedElement doesn't
|
| // have hasTagName.
|
|
|