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

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

Issue 622393002: Introduce new entry-points for non-paint-server RenderSVGResources (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 6e3a84adf43f2ea658296ebbaf9472066d1eb125..79cd5b71f9b99f8c3116faee33965f12c9f337ed 100644
--- a/Source/core/rendering/svg/RenderSVGResourceMasker.cpp
+++ b/Source/core/rendering/svg/RenderSVGResourceMasker.cpp
@@ -55,13 +55,11 @@ void RenderSVGResourceMasker::removeClientFromCache(RenderObject* client, bool m
markClientForInvalidation(client, markForInvalidation ? BoundariesInvalidation : ParentOnlyInvalidation);
}
-bool RenderSVGResourceMasker::applyResource(RenderObject* object, RenderStyle*,
- GraphicsContext*& context, unsigned short resourceMode)
+bool RenderSVGResourceMasker::prepareEffect(RenderObject* object, RenderStyle*, GraphicsContext*& context)
{
ASSERT(object);
ASSERT(context);
ASSERT(style());
- ASSERT_UNUSED(resourceMode, resourceMode == ApplyToDefaultMode);
ASSERT_WITH_SECURITY_IMPLICATION(!needsLayout());
clearInvalidationMask();
@@ -76,7 +74,7 @@ bool RenderSVGResourceMasker::applyResource(RenderObject* object, RenderStyle*,
return true;
}
-void RenderSVGResourceMasker::postApplyResource(RenderObject* object, GraphicsContext*& context)
+void RenderSVGResourceMasker::finishEffect(RenderObject* object, GraphicsContext*& context)
{
ASSERT(object);
ASSERT(context);
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceMasker.h ('k') | Source/core/rendering/svg/RenderSVGResourcePattern.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698