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

Unified Diff: Source/core/rendering/svg/RenderSVGResourceGradient.h

Issue 638933002: Introduce SVGPaintServer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Disambiguate. 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/RenderSVGResourceGradient.h
diff --git a/Source/core/rendering/svg/RenderSVGResourceGradient.h b/Source/core/rendering/svg/RenderSVGResourceGradient.h
index f3e02e31c41ca680c34d967568f3794cdcd5f0a1..5b1b131f0adb33f0c8623b3249c938f1d3d58b75 100644
--- a/Source/core/rendering/svg/RenderSVGResourceGradient.h
+++ b/Source/core/rendering/svg/RenderSVGResourceGradient.h
@@ -26,7 +26,6 @@
#include "core/svg/SVGGradientElement.h"
#include "platform/geometry/FloatRect.h"
#include "platform/graphics/Gradient.h"
-#include "platform/graphics/ImageBuffer.h"
#include "platform/transforms/AffineTransform.h"
#include "wtf/HashMap.h"
@@ -48,8 +47,7 @@ public:
virtual void removeAllClientsFromCache(bool markForInvalidation = true) override final;
virtual void removeClientFromCache(RenderObject*, bool markForInvalidation = true) override final;
- virtual bool applyResource(RenderObject*, RenderStyle*, GraphicsContext*, RenderSVGResourceModeFlags) override final;
- virtual void postApplyResource(GraphicsContext*) override final;
+ virtual SVGPaintServer preparePaintServer(RenderObject*, RenderStyle*, RenderSVGResourceModeFlags) override final;
virtual bool isChildAllowed(RenderObject* child, RenderStyle*) const override final;

Powered by Google App Engine
This is Rietveld 408576698