Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(801)

Unified Diff: Source/core/page/PrintContext.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/PageSerializer.cpp ('k') | Source/core/page/SpatialNavigation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/core/page/PageSerializer.cpp ('k') | Source/core/page/SpatialNavigation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698