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

Unified Diff: Source/core/rendering/svg/RenderSVGContainer.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/rendering/svg/RenderSVGContainer.h ('k') | Source/core/rendering/svg/RenderSVGForeignObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGContainer.cpp
diff --git a/Source/core/rendering/svg/RenderSVGContainer.cpp b/Source/core/rendering/svg/RenderSVGContainer.cpp
index 03de2f2f01c9c1c98228ed955e3e082131a432fa..251a507ce5ab8c41d416aefb4bb1a202047b0d38 100644
--- a/Source/core/rendering/svg/RenderSVGContainer.cpp
+++ b/Source/core/rendering/svg/RenderSVGContainer.cpp
@@ -74,7 +74,7 @@ void RenderSVGContainer::layout()
clearNeedsLayout();
}
-void RenderSVGContainer::addChild(RenderObject* child, RenderObject* beforeChild)
+void RenderSVGContainer::addChild(LayoutObject* child, LayoutObject* beforeChild)
{
RenderSVGModelObject::addChild(child, beforeChild);
SVGResourcesCache::clientWasAddedToTree(child, child->style());
@@ -84,7 +84,7 @@ void RenderSVGContainer::addChild(RenderObject* child, RenderObject* beforeChild
descendantIsolationRequirementsChanged(DescendantIsolationRequired);
}
-void RenderSVGContainer::removeChild(RenderObject* child)
+void RenderSVGContainer::removeChild(LayoutObject* child)
{
SVGResourcesCache::clientWillBeRemovedFromTree(child);
RenderSVGModelObject::removeChild(child);
@@ -96,7 +96,7 @@ void RenderSVGContainer::removeChild(RenderObject* child)
bool RenderSVGContainer::selfWillPaint()
{
- SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(this);
+ SVGResources* resources = SVGResourcesCache::cachedResourcesForLayoutObject(this);
return resources && resources->filter();
}
@@ -170,7 +170,7 @@ bool RenderSVGContainer::nodeAtFloatPoint(const HitTestRequest& request, HitTest
if (!SVGRenderSupport::transformToUserSpaceAndCheckClipping(this, localToParentTransform(), pointInParent, localPoint))
return false;
- for (RenderObject* child = lastChild(); child; child = child->previousSibling()) {
+ for (LayoutObject* child = lastChild(); child; child = child->previousSibling()) {
if (child->nodeAtFloatPoint(request, result, localPoint, hitTestAction)) {
updateHitTestResult(result, roundedLayoutPoint(localPoint));
return true;
« no previous file with comments | « Source/core/rendering/svg/RenderSVGContainer.h ('k') | Source/core/rendering/svg/RenderSVGForeignObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698