| Index: third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| index 985b2d01d415224838adc50e7414dd88282513a8..9489e02b4b1e4d5eb5c3f0ada77154d513cc90e7 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| @@ -826,7 +826,7 @@ static void writeCounterValuesFromChildren(TextStream& stream, LayoutObject* par
|
| String counterValueForElement(Element* element)
|
| {
|
| // Make sure the element is not freed during the layout.
|
| - RefPtrWillBeRawPtr<Element> protector(element);
|
| + RawPtr<Element> protector(element);
|
| element->document().updateLayout();
|
| TextStream stream;
|
| bool isFirstCounter = true;
|
| @@ -841,7 +841,7 @@ String counterValueForElement(Element* element)
|
| String markerTextForListItem(Element* element)
|
| {
|
| // Make sure the element is not freed during the layout.
|
| - RefPtrWillBeRawPtr<Element> protector(element);
|
| + RawPtr<Element> protector(element);
|
| element->document().updateLayout();
|
|
|
| LayoutObject* layoutObject = element->layoutObject();
|
|
|