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

Unified Diff: Source/core/rendering/svg/RenderSVGResourceFilter.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/RenderSVGResourceFilter.cpp
diff --git a/Source/core/rendering/svg/RenderSVGResourceFilter.cpp b/Source/core/rendering/svg/RenderSVGResourceFilter.cpp
index 271b184561cb5152d598fd9cc4a707de3abfcff1..0b572e787873726bad85b103ceea3a358a84be7c 100644
--- a/Source/core/rendering/svg/RenderSVGResourceFilter.cpp
+++ b/Source/core/rendering/svg/RenderSVGResourceFilter.cpp
@@ -57,7 +57,7 @@ void RenderSVGResourceFilter::destroy()
RenderSVGResourceContainer::destroy();
}
-bool RenderSVGResourceFilter::isChildAllowed(RenderObject* child, const RenderStyle&) const
+bool RenderSVGResourceFilter::isChildAllowed(LayoutObject* child, const RenderStyle&) const
{
return child->isSVGResourceFilterPrimitive();
}
@@ -68,7 +68,7 @@ void RenderSVGResourceFilter::removeAllClientsFromCache(bool markForInvalidation
markAllClientsForInvalidation(markForInvalidation ? LayoutAndBoundariesInvalidation : ParentOnlyInvalidation);
}
-void RenderSVGResourceFilter::removeClientFromCache(RenderObject* client, bool markForInvalidation)
+void RenderSVGResourceFilter::removeClientFromCache(LayoutObject* client, bool markForInvalidation)
{
ASSERT(client);
@@ -205,7 +205,7 @@ static void paintFilteredContent(GraphicsContext* context, FilterData* filterDat
filterData->m_state = FilterData::ReadyToPaint;
}
-GraphicsContext* RenderSVGResourceFilter::prepareEffect(RenderObject* object, GraphicsContext* context)
+GraphicsContext* RenderSVGResourceFilter::prepareEffect(LayoutObject* object, GraphicsContext* context)
{
ASSERT(object);
ASSERT(context);
@@ -251,7 +251,7 @@ GraphicsContext* RenderSVGResourceFilter::prepareEffect(RenderObject* object, Gr
return beginRecordingContent(context, data);
}
-void RenderSVGResourceFilter::finishEffect(RenderObject* object, GraphicsContext* context)
+void RenderSVGResourceFilter::finishEffect(LayoutObject* object, GraphicsContext* context)
{
ASSERT(object);
ASSERT(context);
@@ -277,7 +277,7 @@ void RenderSVGResourceFilter::finishEffect(RenderObject* object, GraphicsContext
paintFilteredContent(context, filterData, toSVGFilterElement(element()));
}
-FloatRect RenderSVGResourceFilter::resourceBoundingBox(const RenderObject* object)
+FloatRect RenderSVGResourceFilter::resourceBoundingBox(const LayoutObject* object)
{
if (SVGFilterElement* element = toSVGFilterElement(this->element()))
return SVGLengthContext::resolveRectangle<SVGFilterElement>(element, element->filterUnits()->currentValue()->enumValue(), object->objectBoundingBox());
@@ -285,7 +285,7 @@ FloatRect RenderSVGResourceFilter::resourceBoundingBox(const RenderObject* objec
return FloatRect();
}
-void RenderSVGResourceFilter::primitiveAttributeChanged(RenderObject* object, const QualifiedName& attribute)
+void RenderSVGResourceFilter::primitiveAttributeChanged(LayoutObject* object, const QualifiedName& attribute)
{
FilterMap::iterator it = m_filter.begin();
FilterMap::iterator end = m_filter.end();
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceFilter.h ('k') | Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698