summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/CounterNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/CounterNode.cpp')
-rw-r--r--WebCore/rendering/CounterNode.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/rendering/CounterNode.cpp b/WebCore/rendering/CounterNode.cpp
index c164c81..ac83d5a 100644
--- a/WebCore/rendering/CounterNode.cpp
+++ b/WebCore/rendering/CounterNode.cpp
@@ -41,6 +41,11 @@ CounterNode::CounterNode(RenderObject* o, bool hasResetType, int value)
{
}
+PassRefPtr<CounterNode> CounterNode::create(RenderObject* renderer, bool hasResetType, int value)
+{
+ return adoptRef(new CounterNode(renderer, hasResetType, value));
+}
+
CounterNode* CounterNode::nextInPreOrderAfterChildren(const CounterNode* stayWithin) const
{
if (this == stayWithin)