Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(839)

Unified Diff: Source/core/html/HTMLObjectElement.cpp

Issue 202633009: Add Element::subResourceAttributeName() virtual function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLObjectElement.cpp
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp
index 4c81b74b9a6640bf7a4dbd297692417458573d4c..cbcbf25804c782a7854c991c5d36686b7f4e360b 100644
--- a/Source/core/html/HTMLObjectElement.cpp
+++ b/Source/core/html/HTMLObjectElement.cpp
@@ -375,6 +375,11 @@ bool HTMLObjectElement::hasLegalLinkAttribute(const QualifiedName& name) const
return name == classidAttr || name == dataAttr || name == codebaseAttr || HTMLPlugInElement::hasLegalLinkAttribute(name);
}
+const QualifiedName* HTMLObjectElement::subResourceAttributeName() const
+{
+ return &dataAttr;
+}
+
const AtomicString HTMLObjectElement::imageSourceURL() const
{
return getAttribute(dataAttr);

Powered by Google App Engine
This is Rietveld 408576698