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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 685e569c1040186ad3bd35a3f1972821dba9caba..983022f23fdbb8b696126cb9130d17ef9bf5df5e 100644
--- a/Source/core/page/PrintContext.cpp
+++ b/Source/core/page/PrintContext.cpp
@@ -181,7 +181,7 @@ void PrintContext::end()
m_linkAndLinkedDestinationsValid = false;
}
-static RenderBoxModelObject* enclosingBoxModelObject(RenderObject* object)
+static RenderBoxModelObject* enclosingBoxModelObject(LayoutObject* object)
{
while (object && !object->isBoxModelObject())
@@ -256,7 +256,7 @@ void PrintContext::outputLinkAndLinkedDestinations(GraphicsContext& graphicsCont
}
for (const auto& entry : m_linkDestinations) {
- RenderObject* renderer = entry.key->renderer();
+ LayoutObject* renderer = entry.key->renderer();
if (!renderer)
continue;
KURL url = entry.value;
@@ -273,7 +273,7 @@ void PrintContext::outputLinkAndLinkedDestinations(GraphicsContext& graphicsCont
}
for (const auto& entry : m_linkedDestinations) {
- RenderObject* renderer = entry.value->renderer();
+ LayoutObject* renderer = entry.value->renderer();
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