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

Unified Diff: Source/core/layout/svg/LayoutSVGContainer.cpp

Issue 933953003: Move the remaining rendering/svg/RenderSVG* files to layout. (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/layout/svg/LayoutSVGContainer.h ('k') | Source/core/layout/svg/LayoutSVGForeignObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGContainer.cpp
diff --git a/Source/core/layout/svg/LayoutSVGContainer.cpp b/Source/core/layout/svg/LayoutSVGContainer.cpp
index 1822bd81ae99bd914affd61f6be029a615f2eea8..0b05f5cba3fba0173efcbf3d39387383141d5b97 100644
--- a/Source/core/layout/svg/LayoutSVGContainer.cpp
+++ b/Source/core/layout/svg/LayoutSVGContainer.cpp
@@ -32,7 +32,7 @@
namespace blink {
LayoutSVGContainer::LayoutSVGContainer(SVGElement* node)
- : RenderSVGModelObject(node)
+ : LayoutSVGModelObject(node)
, m_objectBoundingBoxValid(false)
, m_needsBoundariesUpdate(true)
, m_hasNonIsolatedBlendingDescendants(false)
@@ -68,7 +68,7 @@ void LayoutSVGContainer::layout()
m_needsBoundariesUpdate = false;
// If our bounds changed, notify the parents.
- RenderSVGModelObject::setNeedsBoundariesUpdate();
+ LayoutSVGModelObject::setNeedsBoundariesUpdate();
}
clearNeedsLayout();
@@ -76,7 +76,7 @@ void LayoutSVGContainer::layout()
void LayoutSVGContainer::addChild(LayoutObject* child, LayoutObject* beforeChild)
{
- RenderSVGModelObject::addChild(child, beforeChild);
+ LayoutSVGModelObject::addChild(child, beforeChild);
SVGResourcesCache::clientWasAddedToTree(child, child->styleRef());
bool shouldIsolateDescendants = (child->isBlendingAllowed() && child->style()->hasBlendMode()) || child->hasNonIsolatedBlendingDescendants();
@@ -87,7 +87,7 @@ void LayoutSVGContainer::addChild(LayoutObject* child, LayoutObject* beforeChild
void LayoutSVGContainer::removeChild(LayoutObject* child)
{
SVGResourcesCache::clientWillBeRemovedFromTree(child);
- RenderSVGModelObject::removeChild(child);
+ LayoutSVGModelObject::removeChild(child);
bool hadNonIsolatedDescendants = (child->isBlendingAllowed() && child->style()->hasBlendMode()) || child->hasNonIsolatedBlendingDescendants();
if (hadNonIsolatedDescendants)
@@ -102,7 +102,7 @@ bool LayoutSVGContainer::selfWillPaint()
void LayoutSVGContainer::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle)
{
- RenderSVGModelObject::styleDidChange(diff, oldStyle);
+ LayoutSVGModelObject::styleDidChange(diff, oldStyle);
bool hadIsolation = oldStyle && !isSVGHiddenContainer() && SVGLayoutSupport::willIsolateBlendingDescendantsForStyle(*oldStyle);
bool isolationChanged = hadIsolation == !SVGLayoutSupport::willIsolateBlendingDescendantsForObject(this);
« no previous file with comments | « Source/core/layout/svg/LayoutSVGContainer.h ('k') | Source/core/layout/svg/LayoutSVGForeignObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698