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

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

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
« no previous file with comments | « no previous file | Source/core/rendering/svg/RenderSVGResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGResource.h
diff --git a/Source/core/rendering/svg/RenderSVGResource.h b/Source/core/rendering/svg/RenderSVGResource.h
index 70f79313a7e1774aa0c1ad2cd414d91da3be08d0..3923fe5e5a36409222624420e673cf6b1d502f4c 100644
--- a/Source/core/rendering/svg/RenderSVGResource.h
+++ b/Source/core/rendering/svg/RenderSVGResource.h
@@ -35,10 +35,9 @@ enum RenderSVGResourceType {
// If this enum changes change the unsigned bitfields using it.
enum RenderSVGResourceMode {
- ApplyToDefaultMode = 1 << 0, // used for all resources except gradient/pattern
- ApplyToFillMode = 1 << 1,
- ApplyToStrokeMode = 1 << 2,
- ApplyToTextMode = 1 << 3 // used in combination with ApplyTo{Fill|Stroke}Mode
+ ApplyToFillMode = 1 << 0,
+ ApplyToStrokeMode = 1 << 1,
+ ApplyToTextMode = 1 << 2 // used in combination with ApplyTo{Fill|Stroke}Mode
};
typedef unsigned RenderSVGResourceModeFlags;
@@ -55,7 +54,7 @@ public:
virtual void removeAllClientsFromCache(bool markForInvalidation = true) = 0;
virtual void removeClientFromCache(RenderObject*, bool markForInvalidation = true) = 0;
- virtual bool applyResource(RenderObject*, RenderStyle*, GraphicsContext*&, unsigned short resourceMode) = 0;
+ virtual bool applyResource(RenderObject*, RenderStyle*, GraphicsContext*&, unsigned short resourceMode);
virtual void postApplyResource(RenderObject*, GraphicsContext*&) { }
virtual RenderSVGResourceType resourceType() const = 0;
« no previous file with comments | « no previous file | Source/core/rendering/svg/RenderSVGResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698