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

Unified Diff: Source/core/html/HTMLTableRowElement.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/HTMLTableRowElement.cpp
diff --git a/Source/core/html/HTMLTableRowElement.cpp b/Source/core/html/HTMLTableRowElement.cpp
index 5dbf021877ad49c057b2b0dfb79df4c616536803..19ad89dd7d455b3c4d2b5529b2370c9557e57122 100644
--- a/Source/core/html/HTMLTableRowElement.cpp
+++ b/Source/core/html/HTMLTableRowElement.cpp
@@ -49,6 +49,11 @@ bool HTMLTableRowElement::hasLegalLinkAttribute(const QualifiedName& name) const
return name == backgroundAttr || HTMLTablePartElement::hasLegalLinkAttribute(name);
}
+const QualifiedName* HTMLTableRowElement::subResourceAttributeName() const
+{
+ return &backgroundAttr;
+}
+
PassRefPtr<HTMLTableRowElement> HTMLTableRowElement::create(Document& document)
{
return adoptRef(new HTMLTableRowElement(document));

Powered by Google App Engine
This is Rietveld 408576698