Home | History | Annotate | Download | only in rendering

Lines Matching refs:CounterNode

25 #include "CounterNode.h"
38 typedef HashMap<RefPtr<AtomicStringImpl>, CounterNode*> CounterMap;
41 static CounterNode* makeCounterNode(RenderObject*, const AtomicString& identifier, bool alwaysCreateCounter);
113 // identifier in the CounterNode tree for identifier and sets parent and
128 static bool findPlaceForCounter(RenderObject* counterOwner, const AtomicString& identifier, bool isReset, CounterNode*& parent, CounterNode*& previousSibling)
139 CounterNode* currentCounter = makeCounterNode(currentRenderer, identifier, false);
229 static CounterNode* makeCounterNode(RenderObject* object, const AtomicString& identifier, bool alwaysCreateCounter)
235 if (CounterNode* node = nodeMap->get(identifier.impl()))
243 CounterNode* newParent = 0;
244 CounterNode* newPreviousSibling = 0;
245 CounterNode* newNode = new CounterNode(object, isReset, value);
266 CounterNode* currentCounter = maps.get(currentRenderer)->get(identifier.impl());
308 CounterNode* child = m_counterNode;
316 while (CounterNode* parent = child->parent()) {
340 static void destroyCounterNodeWithoutMapRemoval(const AtomicString& identifier, CounterNode* node)
342 CounterNode* previous;
343 for (CounterNode* child = node->lastDescendant(); child && child != node; child = previous) {
360 if (CounterNode* parent = node->parent())
420 CounterNode* node = counterMap->get(it->first.get());
425 CounterNode* newParent = 0;
426 CounterNode* newPreviousSibling;
428 CounterNode* parent = node->parent();