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

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

Issue 23567024: Have Attr constructor take a Document / Element reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix try bot failures Created 7 years, 3 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.cpp » ('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 21b36857fd156c5afa7b561ae2e11502302995fe..bd9e7eb5e2ee26fa3ab24218a5536cf3a708fed3 100644
--- a/Source/core/dom/Attr.h
+++ b/Source/core/dom/Attr.h
@@ -42,8 +42,8 @@ class MutableStylePropertySet;
class Attr FINAL : public ContainerNode {
public:
- static PassRefPtr<Attr> create(Element*, const QualifiedName&);
- static PassRefPtr<Attr> create(Document*, const QualifiedName&, const AtomicString& value);
+ static PassRefPtr<Attr> create(Element&, const QualifiedName&);
+ static PassRefPtr<Attr> create(Document&, const QualifiedName&, const AtomicString& value);
virtual ~Attr();
String name() const { return qualifiedName().toString(); }
@@ -70,8 +70,8 @@ public:
virtual void setPrefix(const AtomicString&, ExceptionState&) OVERRIDE;
private:
- Attr(Element*, const QualifiedName&);
- Attr(Document*, const QualifiedName&, const AtomicString& value);
+ Attr(Element&, const QualifiedName&);
+ Attr(Document&, const QualifiedName&, const AtomicString& value);
void createTextChild();
« no previous file with comments | « no previous file | Source/core/dom/Attr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698