Index: Source/core/rendering/svg/RenderSVGResourceGradient.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResourceGradient.cpp b/Source/core/rendering/svg/RenderSVGResourceGradient.cpp |
index d6436cf7994e25ffd4c1377508dc7d17df78db40..d3a514b1aa7c8487dd03a1486719e5071853fc71 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceGradient.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResourceGradient.cpp |
@@ -50,7 +50,7 @@ void RenderSVGResourceGradient::removeClientFromCache(RenderObject* client, bool |
markClientForInvalidation(client, markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation); |
} |
-bool RenderSVGResourceGradient::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) |
+bool RenderSVGResourceGradient::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext* context, RenderSVGResourceModeFlags resourceMode) |
{ |
ASSERT(object); |
ASSERT(style); |
@@ -127,7 +127,7 @@ bool RenderSVGResourceGradient::applyResource(RenderObject* object, RenderStyle* |
return true; |
} |
-void RenderSVGResourceGradient::postApplyResource(RenderObject*, GraphicsContext*& context) |
+void RenderSVGResourceGradient::postApplyResource(GraphicsContext* context) |
{ |
ASSERT(context); |
context->restore(); |