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

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

Issue 26678003: Remove several unused Node methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | 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 10e7643f0fbe8f237e4e75c53e5ae669e25dca03..8cdcd5e0dd46744f4015333bd22749eba2467104 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -824,21 +824,6 @@ inline bool Node::hasTagName(const QualifiedName& name) const
return isElementNode() && toElement(this)->hasTagName(name);
}
-inline bool Node::hasLocalName(const AtomicString& name) const
-{
- return isElementNode() && toElement(this)->hasLocalName(name);
-}
-
-inline bool Node::hasAttributes() const
-{
- return isElementNode() && toElement(this)->hasAttributes();
-}
-
-inline NamedNodeMap* Node::attributes() const
-{
- return isElementNode() ? toElement(this)->attributes() : 0;
-}
-
inline Element* Node::parentElement() const
{
ContainerNode* parent = parentNode();
« no previous file with comments | « no previous file | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698