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

Unified Diff: Source/core/svg/SVGGElement.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
« no previous file with comments | « Source/core/svg/SVGDefsElement.cpp ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGGElement.cpp
diff --git a/Source/core/svg/SVGGElement.cpp b/Source/core/svg/SVGGElement.cpp
index 94839f4dbf8d2ba1c4a8475238dbd58d5c115a57..aaed326e7bca3740e3b00483b1e397c1e26e4210 100644
--- a/Source/core/svg/SVGGElement.cpp
+++ b/Source/core/svg/SVGGElement.cpp
@@ -22,8 +22,8 @@
#include "core/svg/SVGGElement.h"
#include "core/SVGNames.h"
-#include "core/rendering/svg/RenderSVGHiddenContainer.h"
-#include "core/rendering/svg/RenderSVGTransformableContainer.h"
+#include "core/layout/svg/LayoutSVGHiddenContainer.h"
+#include "core/layout/svg/LayoutSVGTransformableContainer.h"
namespace blink {
@@ -41,9 +41,9 @@ LayoutObject* SVGGElement::createRenderer(const LayoutStyle& style)
// subtree may be hidden - we only want the resource renderers to exist so they can be
// referenced from somewhere else.
if (style.display() == NONE)
- return new RenderSVGHiddenContainer(this);
+ return new LayoutSVGHiddenContainer(this);
- return new RenderSVGTransformableContainer(this);
+ return new LayoutSVGTransformableContainer(this);
}
bool SVGGElement::rendererIsNeeded(const LayoutStyle&)
« no previous file with comments | « Source/core/svg/SVGDefsElement.cpp ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698