| Index: Source/core/html/HTMLObjectElement.cpp
|
| diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp
|
| index f3e473b71d1638fdb04746fe80fa13f886f1b80b..a42afa3f7d481b3576fca60d9545b323addc7262 100644
|
| --- a/Source/core/html/HTMLObjectElement.cpp
|
| +++ b/Source/core/html/HTMLObjectElement.cpp
|
| @@ -440,7 +440,7 @@ bool HTMLObjectElement::containsJavaApplet() const
|
| if (MIMETypeRegistry::isJavaAppletMIMEType(getAttribute(typeAttr)))
|
| return true;
|
|
|
| - for (HTMLElement* child = Traversal<HTMLElement>::firstWithin(*this); child; child = Traversal<HTMLElement>::nextSkippingChildren(*child, this)) {
|
| + for (HTMLElement* child = Traversal<HTMLElement>::firstChild(*this); child; child = Traversal<HTMLElement>::nextSibling(*child)) {
|
| if (isHTMLParamElement(*child)
|
| && equalIgnoringCase(child->getNameAttribute(), "type")
|
| && MIMETypeRegistry::isJavaAppletMIMEType(child->getAttribute(valueAttr).string()))
|
|
|