#include <stdio.h>
#endif
-namespace WebCore {
+namespace blink {
CounterNode::CounterNode(RenderObject& o, bool hasResetType, int value)
: m_hasResetType(hasResetType)
return 0;
const CounterNode* current = this;
- CounterNode* next;
- while (!(next = current->m_nextSibling)) {
+ CounterNode* next = current->m_nextSibling;
+ for (; !next; next = current->m_nextSibling) {
current = current->m_parent;
if (!current || current == stayWithin)
return 0;
#endif
-} // namespace WebCore
+} // namespace blink
#ifndef NDEBUG
-void showCounterTree(const WebCore::CounterNode* counter)
+void showCounterTree(const blink::CounterNode* counter)
{
if (counter)
showTreeAndMark(counter);