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

Unified Diff: Source/core/layout/svg/LayoutSVGGradientStop.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/LayoutSVGGradientStop.h ('k') | Source/core/layout/svg/LayoutSVGImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGGradientStop.cpp
diff --git a/Source/core/rendering/svg/RenderSVGGradientStop.cpp b/Source/core/layout/svg/LayoutSVGGradientStop.cpp
similarity index 85%
rename from Source/core/rendering/svg/RenderSVGGradientStop.cpp
rename to Source/core/layout/svg/LayoutSVGGradientStop.cpp
index cd3a390416c500ebea30180628cdbf7ce37f1f48..58e3f19f38f02800c8088f5eef0103ea2ffae64e 100644
--- a/Source/core/rendering/svg/RenderSVGGradientStop.cpp
+++ b/Source/core/layout/svg/LayoutSVGGradientStop.cpp
@@ -19,7 +19,7 @@
#include "config.h"
-#include "core/rendering/svg/RenderSVGGradientStop.h"
+#include "core/layout/svg/LayoutSVGGradientStop.h"
#include "core/layout/svg/LayoutSVGResourceContainer.h"
#include "core/svg/SVGGradientElement.h"
@@ -27,16 +27,16 @@
namespace blink {
-RenderSVGGradientStop::RenderSVGGradientStop(SVGStopElement* element)
+LayoutSVGGradientStop::LayoutSVGGradientStop(SVGStopElement* element)
: LayoutObject(element)
{
}
-RenderSVGGradientStop::~RenderSVGGradientStop()
+LayoutSVGGradientStop::~LayoutSVGGradientStop()
{
}
-void RenderSVGGradientStop::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle)
+void LayoutSVGGradientStop::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle)
{
LayoutObject::styleDidChange(diff, oldStyle);
if (!diff.hasDifference())
@@ -56,12 +56,12 @@ void RenderSVGGradientStop::styleDidChange(StyleDifference diff, const LayoutSty
container->removeAllClientsFromCache();
}
-void RenderSVGGradientStop::layout()
+void LayoutSVGGradientStop::layout()
{
clearNeedsLayout();
}
-SVGGradientElement* RenderSVGGradientStop::gradientElement() const
+SVGGradientElement* LayoutSVGGradientStop::gradientElement() const
{
ContainerNode* parentNode = node()->parentNode();
ASSERT(parentNode);
« no previous file with comments | « Source/core/layout/svg/LayoutSVGGradientStop.h ('k') | Source/core/layout/svg/LayoutSVGImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698