| Index: third_party/WebKit/Source/core/page/PrintContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/PrintContext.cpp b/third_party/WebKit/Source/core/page/PrintContext.cpp
|
| index 205a8a6cd66857d520b85691fa16303d665be083..18aa9f11fdd6fa5a6ddb7fd9af90de60f205bf6e 100644
|
| --- a/third_party/WebKit/Source/core/page/PrintContext.cpp
|
| +++ b/third_party/WebKit/Source/core/page/PrintContext.cpp
|
| @@ -185,7 +185,7 @@ static LayoutBoxModelObject* enclosingBoxModelObject(LayoutObject* object)
|
| int PrintContext::pageNumberForElement(Element* element, const FloatSize& pageSizeInPixels)
|
| {
|
| // Make sure the element is not freed during the layout.
|
| - RefPtrWillBeRawPtr<Element> protect(element);
|
| + RawPtr<Element> protect(element);
|
| element->document().updateLayout();
|
|
|
| LayoutBoxModelObject* box = enclosingBoxModelObject(element->layoutObject());
|
|
|