| 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 8086a94eae5768719f49b6b39457f9dac91c83e9..8f48f651defac3d1bec976563da1272c11109902 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
|
| @@ -227,7 +227,7 @@ static bool findPlaceForCounter(LayoutObject& counterOwner, const AtomicString&
|
| // we are a root node if that reset is a root.
|
| parent = currentCounter->parent();
|
| previousSibling = parent ? currentCounter : nullptr;
|
| - return parent;
|
| + return parent.get();
|
| }
|
| // We are not a reset node or the previous reset must be on an ancestor of our owner layoutObject
|
| // hence we must be a child of that reset counter.
|
| @@ -261,7 +261,7 @@ static bool findPlaceForCounter(LayoutObject& counterOwner, const AtomicString&
|
| if (isReset && areLayoutObjectsElementsSiblings(*currentLayoutObject, counterOwner)) {
|
| parent = currentCounter->parent();
|
| previousSibling = currentCounter;
|
| - return parent;
|
| + return parent.get();
|
| }
|
| parent = currentCounter;
|
| previousSibling = previousSiblingProtector.get();
|
|
|