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

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

Issue 921633007: Move the SVG container code from rendering/svg to layout/svg. (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
Index: Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
diff --git a/Source/core/rendering/svg/RenderSVGTransformableContainer.cpp b/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
similarity index 93%
rename from Source/core/rendering/svg/RenderSVGTransformableContainer.cpp
rename to Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
index bd36cbf92ef1c80dd5866ece46e24f42426ff670..f6efa53fb4438806214f0caf439e2cb133c2ae56 100644
--- a/Source/core/rendering/svg/RenderSVGTransformableContainer.cpp
+++ b/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
@@ -21,7 +21,7 @@
#include "config.h"
-#include "core/rendering/svg/RenderSVGTransformableContainer.h"
+#include "core/layout/svg/LayoutSVGTransformableContainer.h"
#include "core/layout/svg/SVGLayoutSupport.h"
#include "core/svg/SVGGElement.h"
@@ -30,7 +30,7 @@
namespace blink {
-RenderSVGTransformableContainer::RenderSVGTransformableContainer(SVGGraphicsElement* node)
+LayoutSVGTransformableContainer::LayoutSVGTransformableContainer(SVGGraphicsElement* node)
: LayoutSVGContainer(node)
, m_needsTransformUpdate(true)
, m_didTransformToRootUpdate(false)
@@ -47,7 +47,7 @@ static bool hasValidPredecessor(const Node* node)
return false;
}
-bool RenderSVGTransformableContainer::isChildAllowed(LayoutObject* child, const LayoutStyle& style) const
+bool LayoutSVGTransformableContainer::isChildAllowed(LayoutObject* child, const LayoutStyle& style) const
{
ASSERT(element());
if (isSVGSwitchElement(*element())) {
@@ -69,7 +69,7 @@ bool RenderSVGTransformableContainer::isChildAllowed(LayoutObject* child, const
return LayoutSVGContainer::isChildAllowed(child, style);
}
-bool RenderSVGTransformableContainer::calculateLocalTransform()
+bool LayoutSVGTransformableContainer::calculateLocalTransform()
{
SVGGraphicsElement* element = toSVGGraphicsElement(this->element());
ASSERT(element);
« no previous file with comments | « Source/core/layout/svg/LayoutSVGTransformableContainer.h ('k') | Source/core/layout/svg/LayoutSVGViewportContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698