| 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 248334573c7d955600989cc43a55f2b707ea34d3..1eb1dcc44e94d952f29b3381d89ea096e3e0de75 100644
|
| --- a/third_party/WebKit/Source/core/page/PrintContext.cpp
|
| +++ b/third_party/WebKit/Source/core/page/PrintContext.cpp
|
| @@ -188,7 +188,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());
|
|
|