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

Unified Diff: Source/core/layout/svg/LayoutSVGText.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/LayoutSVGText.h ('k') | Source/core/layout/svg/LayoutSVGViewportContainer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGText.cpp
diff --git a/Source/core/layout/svg/LayoutSVGText.cpp b/Source/core/layout/svg/LayoutSVGText.cpp
index a1bd116b2d771fac7ee8553c1ea7a34d942fbb92..e5190ce97d5478ad8d28d1db0ca0ab10d9b76718 100644
--- a/Source/core/layout/svg/LayoutSVGText.cpp
+++ b/Source/core/layout/svg/LayoutSVGText.cpp
@@ -36,11 +36,11 @@
#include "core/layout/style/ShadowList.h"
#include "core/layout/svg/LayoutSVGInline.h"
#include "core/layout/svg/LayoutSVGInlineText.h"
+#include "core/layout/svg/LayoutSVGRoot.h"
#include "core/layout/svg/SVGLayoutSupport.h"
#include "core/layout/svg/SVGResourcesCache.h"
#include "core/layout/svg/line/SVGRootInlineBox.h"
#include "core/paint/SVGTextPainter.h"
-#include "core/rendering/svg/RenderSVGRoot.h"
#include "core/svg/SVGLengthList.h"
#include "core/svg/SVGTextElement.h"
#include "core/svg/SVGTransformList.h"
@@ -54,7 +54,7 @@
namespace blink {
LayoutSVGText::LayoutSVGText(SVGTextElement* node)
- : RenderSVGBlock(node)
+ : LayoutSVGBlock(node)
, m_needsReordering(false)
, m_needsPositioningValuesUpdate(false)
, m_needsTransformUpdate(true)
@@ -210,7 +210,7 @@ void LayoutSVGText::willBeDestroyed()
m_layoutAttributes.clear();
m_layoutAttributesBuilder.clearTextPositioningElements();
- RenderSVGBlock::willBeDestroyed();
+ LayoutSVGBlock::willBeDestroyed();
}
void LayoutSVGText::subtreeChildWillBeRemoved(LayoutObject* child, Vector<SVGTextLayoutAttributes*, 2>& affectedAttributes)
@@ -400,7 +400,7 @@ void LayoutSVGText::layout()
// If our bounds changed, notify the parents.
if (updateCachedBoundariesInParents)
- RenderSVGBlock::setNeedsBoundariesUpdate();
+ LayoutSVGBlock::setNeedsBoundariesUpdate();
clearNeedsLayout();
}
@@ -488,7 +488,7 @@ FloatRect LayoutSVGText::paintInvalidationRectInLocalCoordinates() const
void LayoutSVGText::addChild(LayoutObject* child, LayoutObject* beforeChild)
{
- RenderSVGBlock::addChild(child, beforeChild);
+ LayoutSVGBlock::addChild(child, beforeChild);
SVGResourcesCache::clientWasAddedToTree(child, child->styleRef());
subtreeChildWasAdded(child);
@@ -501,7 +501,7 @@ void LayoutSVGText::removeChild(LayoutObject* child)
Vector<SVGTextLayoutAttributes*, 2> affectedAttributes;
FontCachePurgePreventer fontCachePurgePreventer;
subtreeChildWillBeRemoved(child, affectedAttributes);
- RenderSVGBlock::removeChild(child);
+ LayoutSVGBlock::removeChild(child);
subtreeChildWasRemoved(affectedAttributes);
}
« no previous file with comments | « Source/core/layout/svg/LayoutSVGText.h ('k') | Source/core/layout/svg/LayoutSVGViewportContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698