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

Unified Diff: Source/core/rendering/svg/RenderSVGResourceGradient.cpp

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (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/rendering/svg/RenderSVGResourceGradient.cpp
diff --git a/Source/core/rendering/svg/RenderSVGResourceGradient.cpp b/Source/core/rendering/svg/RenderSVGResourceGradient.cpp
index 568e4f9cb44d69f2e9c732071df792efc348cb62..68f4f326cd6bfb4f04b29c3782f1a14229fbfa6f 100644
--- a/Source/core/rendering/svg/RenderSVGResourceGradient.cpp
+++ b/Source/core/rendering/svg/RenderSVGResourceGradient.cpp
@@ -38,14 +38,14 @@ void RenderSVGResourceGradient::removeAllClientsFromCache(bool markForInvalidati
markAllClientsForInvalidation(markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);
}
-void RenderSVGResourceGradient::removeClientFromCache(RenderObject* client, bool markForInvalidation)
+void RenderSVGResourceGradient::removeClientFromCache(LayoutObject* client, bool markForInvalidation)
{
ASSERT(client);
m_gradientMap.remove(client);
markClientForInvalidation(client, markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);
}
-SVGPaintServer RenderSVGResourceGradient::preparePaintServer(const RenderObject& object)
+SVGPaintServer RenderSVGResourceGradient::preparePaintServer(const LayoutObject& object)
{
clearInvalidationMask();
@@ -99,7 +99,7 @@ SVGPaintServer RenderSVGResourceGradient::preparePaintServer(const RenderObject&
return SVGPaintServer(gradientData->gradient);
}
-bool RenderSVGResourceGradient::isChildAllowed(RenderObject* child, RenderStyle*) const
+bool RenderSVGResourceGradient::isChildAllowed(LayoutObject* child, RenderStyle*) const
{
if (child->isSVGGradientStop())
return true;

Powered by Google App Engine
This is Rietveld 408576698