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

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

Issue 22967005: Properly measure usage for Node attributes removed from DOM4 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/Attr.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Attr.h
diff --git a/Source/core/dom/Attr.h b/Source/core/dom/Attr.h
index 3673be224d131993ba6221c681f6fb1f02d4bd53..21b36857fd156c5afa7b561ae2e11502302995fe 100644
--- a/Source/core/dom/Attr.h
+++ b/Source/core/dom/Attr.h
@@ -63,6 +63,12 @@ public:
void attachToElement(Element*);
void detachFromElementWithValue(const AtomicString&);
+ virtual const AtomicString& localName() const OVERRIDE { return m_name.localName(); }
+ virtual const AtomicString& namespaceURI() const OVERRIDE { return m_name.namespaceURI(); }
+ virtual const AtomicString& prefix() const OVERRIDE { return m_name.prefix(); }
+
+ virtual void setPrefix(const AtomicString&, ExceptionState&) OVERRIDE;
+
private:
Attr(Element*, const QualifiedName&);
Attr(Document*, const QualifiedName&, const AtomicString& value);
@@ -72,12 +78,6 @@ private:
virtual String nodeName() const OVERRIDE { return name(); }
virtual NodeType nodeType() const OVERRIDE { return ATTRIBUTE_NODE; }
- virtual const AtomicString& localName() const OVERRIDE { return m_name.localName(); }
- virtual const AtomicString& namespaceURI() const OVERRIDE { return m_name.namespaceURI(); }
- virtual const AtomicString& prefix() const OVERRIDE { return m_name.prefix(); }
-
- virtual void setPrefix(const AtomicString&, ExceptionState&);
-
virtual String nodeValue() const OVERRIDE { return value(); }
virtual void setNodeValue(const String&);
virtual PassRefPtr<Node> cloneNode(bool deep = true);
« no previous file with comments | « no previous file | Source/core/dom/Attr.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698