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

Unified Diff: Source/core/rendering/svg/RenderSVGResourceMasker.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/RenderSVGResourceMasker.cpp
diff --git a/Source/core/rendering/svg/RenderSVGResourceMasker.cpp b/Source/core/rendering/svg/RenderSVGResourceMasker.cpp
index d39ac44b3cc02c866726aab02e08260c7718519b..c53ed3c36c5ef5db5610c2d17992093975a2fd94 100644
--- a/Source/core/rendering/svg/RenderSVGResourceMasker.cpp
+++ b/Source/core/rendering/svg/RenderSVGResourceMasker.cpp
@@ -45,13 +45,13 @@ void RenderSVGResourceMasker::removeAllClientsFromCache(bool markForInvalidation
markAllClientsForInvalidation(markForInvalidation ? LayoutAndBoundariesInvalidation : ParentOnlyInvalidation);
}
-void RenderSVGResourceMasker::removeClientFromCache(RenderObject* client, bool markForInvalidation)
+void RenderSVGResourceMasker::removeClientFromCache(LayoutObject* client, bool markForInvalidation)
{
ASSERT(client);
markClientForInvalidation(client, markForInvalidation ? BoundariesInvalidation : ParentOnlyInvalidation);
}
-bool RenderSVGResourceMasker::prepareEffect(RenderObject* object, GraphicsContext* context)
+bool RenderSVGResourceMasker::prepareEffect(LayoutObject* object, GraphicsContext* context)
{
ASSERT(object);
ASSERT(context);
@@ -70,7 +70,7 @@ bool RenderSVGResourceMasker::prepareEffect(RenderObject* object, GraphicsContex
return true;
}
-void RenderSVGResourceMasker::finishEffect(RenderObject* object, GraphicsContext* context)
+void RenderSVGResourceMasker::finishEffect(LayoutObject* object, GraphicsContext* context)
{
ASSERT(object);
ASSERT(context);
@@ -131,7 +131,7 @@ void RenderSVGResourceMasker::createPicture(GraphicsContext* context)
FloatRect bounds = strokeBoundingBox();
context->beginRecording(bounds);
for (SVGElement* childElement = Traversal<SVGElement>::firstChild(*element()); childElement; childElement = Traversal<SVGElement>::nextSibling(*childElement)) {
- RenderObject* renderer = childElement->renderer();
+ LayoutObject* renderer = childElement->renderer();
if (!renderer)
continue;
RenderStyle* style = renderer->style();
@@ -146,7 +146,7 @@ void RenderSVGResourceMasker::createPicture(GraphicsContext* context)
void RenderSVGResourceMasker::calculateMaskContentPaintInvalidationRect()
{
for (SVGElement* childElement = Traversal<SVGElement>::firstChild(*element()); childElement; childElement = Traversal<SVGElement>::nextSibling(*childElement)) {
- RenderObject* renderer = childElement->renderer();
+ LayoutObject* renderer = childElement->renderer();
if (!renderer)
continue;
RenderStyle* style = renderer->style();
@@ -156,7 +156,7 @@ void RenderSVGResourceMasker::calculateMaskContentPaintInvalidationRect()
}
}
-FloatRect RenderSVGResourceMasker::resourceBoundingBox(const RenderObject* object)
+FloatRect RenderSVGResourceMasker::resourceBoundingBox(const LayoutObject* object)
{
SVGMaskElement* maskElement = toSVGMaskElement(element());
ASSERT(maskElement);
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceMasker.h ('k') | Source/core/rendering/svg/RenderSVGResourcePaintServer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698