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

Unified Diff: Source/core/html/HTMLOListElement.h

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another Android build fix 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 | « Source/core/html/HTMLModElement.cpp ('k') | Source/core/html/HTMLOListElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLOListElement.h
diff --git a/Source/core/html/HTMLOListElement.h b/Source/core/html/HTMLOListElement.h
index 76859003be5cfeb397e29ba7d17f84a197c64566..130a7940a10ebadcd4e71d8fe2c51fd9eff0b042 100644
--- a/Source/core/html/HTMLOListElement.h
+++ b/Source/core/html/HTMLOListElement.h
@@ -29,8 +29,8 @@ namespace WebCore {
class HTMLOListElement FINAL : public HTMLElement {
public:
- static PassRefPtr<HTMLOListElement> create(Document*);
- static PassRefPtr<HTMLOListElement> create(const QualifiedName&, Document*);
+ static PassRefPtr<HTMLOListElement> create(Document&);
+ static PassRefPtr<HTMLOListElement> create(const QualifiedName&, Document&);
int start() const { return m_hasExplicitStart ? m_start : (m_isReversed ? itemCount() : 1); }
void setStart(int);
@@ -40,7 +40,7 @@ public:
void itemCountChanged() { m_shouldRecalculateItemCount = true; }
private:
- HTMLOListElement(const QualifiedName&, Document*);
+ HTMLOListElement(const QualifiedName&, Document&);
void updateItemValues();
« no previous file with comments | « Source/core/html/HTMLModElement.cpp ('k') | Source/core/html/HTMLOListElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698