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

Unified Diff: Source/core/html/forms/ImageInputType.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/forms/ImageInputType.cpp
diff --git a/Source/core/html/forms/ImageInputType.cpp b/Source/core/html/forms/ImageInputType.cpp
index efa6605e2fc510dabdae223957f5302bac6f9640..dd6424d89ace247f246402cfdd70c9d8c975ebca 100644
--- a/Source/core/html/forms/ImageInputType.cpp
+++ b/Source/core/html/forms/ImageInputType.cpp
@@ -240,4 +240,9 @@ bool ImageInputType::hasLegalLinkAttribute(const QualifiedName& name) const
return name == srcAttr || BaseButtonInputType::hasLegalLinkAttribute(name);
}
+const QualifiedName* ImageInputType::subResourceAttributeName() const
+{
+ return &srcAttr;
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698