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

Unified Diff: Source/core/svg/SVGPaint.h

Issue 205863002: Remove SVGPaintType enum hardcoding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPaint.h
diff --git a/Source/core/svg/SVGPaint.h b/Source/core/svg/SVGPaint.h
index 7a421136a8d09695e0467d91d4d5d084732b41d3..7c848afb7e559b2def4cce781b886388c76e74da 100644
--- a/Source/core/svg/SVGPaint.h
+++ b/Source/core/svg/SVGPaint.h
@@ -35,16 +35,16 @@ class ExceptionState;
class SVGPaint : public CSSValue {
public:
enum SVGPaintType {
- SVG_PAINTTYPE_UNKNOWN = 0,
- SVG_PAINTTYPE_RGBCOLOR = 1,
- SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2,
- SVG_PAINTTYPE_NONE = 101,
- SVG_PAINTTYPE_CURRENTCOLOR = 102,
- SVG_PAINTTYPE_URI_NONE = 103,
- SVG_PAINTTYPE_URI_CURRENTCOLOR = 104,
- SVG_PAINTTYPE_URI_RGBCOLOR = 105,
- SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106,
- SVG_PAINTTYPE_URI = 107
+ SVG_PAINTTYPE_UNKNOWN,
+ SVG_PAINTTYPE_RGBCOLOR,
+ SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR,
+ SVG_PAINTTYPE_NONE,
+ SVG_PAINTTYPE_CURRENTCOLOR,
+ SVG_PAINTTYPE_URI_NONE,
+ SVG_PAINTTYPE_URI_CURRENTCOLOR,
+ SVG_PAINTTYPE_URI_RGBCOLOR,
+ SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR,
+ SVG_PAINTTYPE_URI
};
static PassRefPtrWillBeRawPtr<SVGPaint> createUnknown()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698