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

Unified Diff: Source/core/svg/SVGElement.h

Issue 196563003: Make Traversal<SVGElement> API a little bit more efficient (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElement.h
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h
index ebdf634b567261213810850b825c766f4f829e61..05b7983aa3937f069a5df5dedf27608d711f61a4 100644
--- a/Source/core/svg/SVGElement.h
+++ b/Source/core/svg/SVGElement.h
@@ -229,6 +229,8 @@ struct SVGAttributeHashTranslator {
DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement());
+template <> inline bool isElementOfType<const SVGElement>(const Node& node) { return node.isSVGElement(); }
+
}
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698