| Index: Source/core/rendering/CounterNode.cpp
|
| diff --git a/Source/core/rendering/CounterNode.cpp b/Source/core/rendering/CounterNode.cpp
|
| index 53957f81e7abbdd40f61a56a4316ebc42377cbc1..87beb7fd627931c9faa6a09879b7981643c3dace 100644
|
| --- a/Source/core/rendering/CounterNode.cpp
|
| +++ b/Source/core/rendering/CounterNode.cpp
|
| @@ -30,7 +30,7 @@
|
|
|
| namespace WebCore {
|
|
|
| -CounterNode::CounterNode(RenderObject* o, bool hasResetType, int value)
|
| +CounterNode::CounterNode(RenderObject& o, bool hasResetType, int value)
|
| : m_hasResetType(hasResetType)
|
| , m_value(value)
|
| , m_countInParent(0)
|
| @@ -92,7 +92,7 @@ CounterNode::~CounterNode()
|
| resetRenderers();
|
| }
|
|
|
| -PassRefPtr<CounterNode> CounterNode::create(RenderObject* owner, bool hasResetType, int value)
|
| +PassRefPtr<CounterNode> CounterNode::create(RenderObject& owner, bool hasResetType, int value)
|
| {
|
| return adoptRef(new CounterNode(owner, hasResetType, value));
|
| }
|
| @@ -367,7 +367,7 @@ static void showTreeAndMark(const CounterNode* node)
|
| fprintf(stderr, "%p %s: %d %d P:%p PS:%p NS:%p R:%p\n",
|
| current, current->actsAsReset() ? "reset____" : "increment", current->value(),
|
| current->countInParent(), current->parent(), current->previousSibling(),
|
| - current->nextSibling(), current->owner());
|
| + current->nextSibling(), ¤t->owner());
|
| }
|
| fflush(stderr);
|
| }
|
|
|