Index: Source/core/html/HTMLObjectElement.cpp |
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp |
index c0ab271e2a29ca37110847f6b77b0f40a61ec9de..f7e4219ba6ed549331399ca88c6f95aa7311c7b7 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())) |