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

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

Issue 629073003: Simplify/cleanup {postApply,apply}Resource signatures (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/RenderSVGResourcePattern.cpp
diff --git a/Source/core/rendering/svg/RenderSVGResourcePattern.cpp b/Source/core/rendering/svg/RenderSVGResourcePattern.cpp
index 01bb1fab303b0e2f282cf04b699f4abbd40fbc63..cfbc0ad3764e6a5422dd7e3b930017b1b455809f 100644
--- a/Source/core/rendering/svg/RenderSVGResourcePattern.cpp
+++ b/Source/core/rendering/svg/RenderSVGResourcePattern.cpp
@@ -112,7 +112,7 @@ PatternData* RenderSVGResourcePattern::buildPattern(RenderObject* object, const
return m_patternMap.set(object, patternData.release()).storedValue->value.get();
}
-bool RenderSVGResourcePattern::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode)
+bool RenderSVGResourcePattern::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext* context, RenderSVGResourceModeFlags resourceMode)
{
ASSERT(object);
ASSERT(style);
@@ -170,7 +170,7 @@ bool RenderSVGResourcePattern::applyResource(RenderObject* object, RenderStyle*
return true;
}
-void RenderSVGResourcePattern::postApplyResource(RenderObject*, GraphicsContext*& context)
+void RenderSVGResourcePattern::postApplyResource(GraphicsContext* context)
{
ASSERT(context);
context->restore();

Powered by Google App Engine
This is Rietveld 408576698