Index: Source/core/html/HTMLObjectElement.cpp |
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp |
index 5e0fb91eb85a043537f3ec574a8915ffcf587089..4c81b74b9a6640bf7a4dbd297692417458573d4c 100644 |
--- a/Source/core/html/HTMLObjectElement.cpp |
+++ b/Source/core/html/HTMLObjectElement.cpp |
@@ -370,6 +370,11 @@ bool HTMLObjectElement::isURLAttribute(const Attribute& attribute) const |
|| HTMLPlugInElement::isURLAttribute(attribute); |
} |
+bool HTMLObjectElement::hasLegalLinkAttribute(const QualifiedName& name) const |
+{ |
+ return name == classidAttr || name == dataAttr || name == codebaseAttr || HTMLPlugInElement::hasLegalLinkAttribute(name); |
+} |
+ |
const AtomicString HTMLObjectElement::imageSourceURL() const |
{ |
return getAttribute(dataAttr); |