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

Unified Diff: Source/core/dom/Element.h

Issue 415823002: Drop slower Node::hasTagName(QualifiedName) overload (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 5 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 | « Source/core/css/SiblingTraversalStrategies.h ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 37a662c17dc8b064c4f144671cc5528ee507c081..59739445b632eee36265e55bb00507bcf45f83d8 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -687,11 +687,6 @@ inline bool isDisabledFormControl(const Node* node)
return node->isElementNode() && toElement(node)->isDisabledFormControl();
}
-inline bool Node::hasTagName(const QualifiedName& name) const
-{
- return isElementNode() && toElement(this)->hasTagName(name);
-}
-
inline Element* Node::parentElement() const
{
ContainerNode* parent = parentNode();
« no previous file with comments | « Source/core/css/SiblingTraversalStrategies.h ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698