summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/html/HTMLOListElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/HTMLOListElement.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/html/HTMLOListElement.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/HTMLOListElement.h b/chromium/third_party/WebKit/Source/core/html/HTMLOListElement.h
index 0da2e2c713d..407c9166979 100644
--- a/chromium/third_party/WebKit/Source/core/html/HTMLOListElement.h
+++ b/chromium/third_party/WebKit/Source/core/html/HTMLOListElement.h
@@ -29,7 +29,7 @@ namespace WebCore {
class HTMLOListElement FINAL : public HTMLElement {
public:
- static PassRefPtr<HTMLOListElement> create(Document&);
+ DECLARE_NODE_FACTORY(HTMLOListElement);
int start() const { return m_hasExplicitStart ? m_start : (m_isReversed ? itemCount() : 1); }
void setStart(int);
@@ -64,8 +64,6 @@ private:
bool m_shouldRecalculateItemCount : 1;
};
-DEFINE_NODE_TYPE_CASTS(HTMLOListElement, hasTagName(HTMLNames::olTag));
-
} //namespace
#endif