| Index: third_party/WebKit/Source/core/layout/LayoutCounter.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutCounter.cpp b/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
|
| index 55ee982b0f78eb24fdfaaa542acac778bd3ee22c..e1032f1a69446c395968d378399a169b7de57432 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
|
| @@ -424,11 +424,12 @@ static CounterNode* makeCounterNodeIfNeeded(LayoutObject& object,
|
| return newNode.get();
|
| }
|
|
|
| -LayoutCounter::LayoutCounter(Document* node, const CounterContent& counter)
|
| - : LayoutText(node, StringImpl::empty),
|
| +LayoutCounter::LayoutCounter(PseudoElement& node, const CounterContent& counter)
|
| + : LayoutText(nullptr, StringImpl::empty),
|
| m_counter(counter),
|
| m_counterNode(nullptr),
|
| m_nextForSameCounter(nullptr) {
|
| + setPseudoForAnonymous(node);
|
| view()->addLayoutCounter();
|
| }
|
|
|
|
|