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

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 46a9e3805d27ee86d8325d1ec6c6b1c7a7caf0ff..665f502b0e69745aaff94b5fa7c52c17b1188ec9 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, const RenderStyle&) const
+bool RenderSVGResourceGradient::isChildAllowed(LayoutObject* child, const RenderStyle&) const
{
if (child->isSVGGradientStop())
return true;
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceGradient.h ('k') | Source/core/rendering/svg/RenderSVGResourceLinearGradient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698