| Index: Source/core/html/HTMLObjectElement.cpp
|
| diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp
|
| index f7e4219ba6ed549331399ca88c6f95aa7311c7b7..1d9a87adf4b710dde3c07f6c878c1e374f067b53 100644
|
| --- a/Source/core/html/HTMLObjectElement.cpp
|
| +++ b/Source/core/html/HTMLObjectElement.cpp
|
| @@ -391,7 +391,7 @@ bool HTMLObjectElement::containsJavaApplet() const
|
| if (MIMETypeRegistry::isJavaAppletMIMEType(getAttribute(typeAttr)))
|
| return true;
|
|
|
| - for (Element* child = ElementTraversal::firstWithin(this); child; child = ElementTraversal::nextSkippingChildren(*child, this)) {
|
| + for (Element* child = ElementTraversal::firstWithin(*this); child; child = ElementTraversal::nextSkippingChildren(*child, this)) {
|
| if (child->hasTagName(paramTag)
|
| && equalIgnoringCase(child->getNameAttribute(), "type")
|
| && MIMETypeRegistry::isJavaAppletMIMEType(child->getAttribute(valueAttr).string()))
|
|
|