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

Unified Diff: Source/core/html/HTMLImageElement.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/HTMLImageElement.cpp
diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp
index ed21fcdbfc344cb680ea0e2261e749d2d080506b..1eed31a0176f1eae10e06d9f337bc9de0b8803ed 100644
--- a/Source/core/html/HTMLImageElement.cpp
+++ b/Source/core/html/HTMLImageElement.cpp
@@ -327,6 +327,11 @@ bool HTMLImageElement::hasLegalLinkAttribute(const QualifiedName& name) const
return name == srcAttr || HTMLElement::hasLegalLinkAttribute(name);
}
+const QualifiedName* HTMLImageElement::subResourceAttributeName() const
+{
+ return &srcAttr;
+}
+
const AtomicString& HTMLImageElement::alt() const
{
return fastGetAttribute(altAttr);

Powered by Google App Engine
This is Rietveld 408576698