| Index: Source/core/page/PrintContext.cpp
|
| diff --git a/Source/core/page/PrintContext.cpp b/Source/core/page/PrintContext.cpp
|
| index 6296eca9612ecc2e95e127b5f9b17ca7196b5968..3ecfa716ada00201a09db1879df759ab8e275923 100644
|
| --- a/Source/core/page/PrintContext.cpp
|
| +++ b/Source/core/page/PrintContext.cpp
|
| @@ -197,7 +197,7 @@ int PrintContext::pageNumberForElement(Element* element, const FloatSize& pageSi
|
| RefPtrWillBeRawPtr<Element> protect(element);
|
| element->document().updateLayout();
|
|
|
| - LayoutBoxModelObject* box = enclosingBoxModelObject(element->renderer());
|
| + LayoutBoxModelObject* box = enclosingBoxModelObject(element->layoutObject());
|
| if (!box)
|
| return -1;
|
|
|
| @@ -264,7 +264,7 @@ void PrintContext::outputLinkAndLinkedDestinations(GraphicsContext& graphicsCont
|
| }
|
|
|
| for (const auto& entry : m_linkDestinations) {
|
| - LayoutObject* renderer = entry.key->renderer();
|
| + LayoutObject* renderer = entry.key->layoutObject();
|
| if (!renderer)
|
| continue;
|
| KURL url = entry.value;
|
| @@ -281,7 +281,7 @@ void PrintContext::outputLinkAndLinkedDestinations(GraphicsContext& graphicsCont
|
| }
|
|
|
| for (const auto& entry : m_linkedDestinations) {
|
| - LayoutObject* renderer = entry.value->renderer();
|
| + LayoutObject* renderer = entry.value->layoutObject();
|
| if (!renderer)
|
| continue;
|
| IntRect boundingBox = renderer->absoluteBoundingBoxRect();
|
|
|