Index: Source/core/style/SVGComputedStyleDefs.h |
diff --git a/Source/core/style/SVGComputedStyleDefs.h b/Source/core/style/SVGComputedStyleDefs.h |
index 8d5540f097073feb7a8b31d5079e514b377f7866..318120a8fc75f52974556883082e40b19fa9358f 100644 |
--- a/Source/core/style/SVGComputedStyleDefs.h |
+++ b/Source/core/style/SVGComputedStyleDefs.h |
@@ -114,9 +114,16 @@ enum EPaintOrderType { |
PT_MARKERS = 3 |
}; |
-const int kPaintOrderBitwidth = 2; |
-typedef unsigned EPaintOrder; |
-const unsigned PO_NORMAL = PT_FILL | PT_STROKE << 2 | PT_MARKERS << 4; |
+// These are all minimized combinations of paint-order. |
pdr.
2015/07/29 05:20:50
Using minimized names was a bit confusing to me at
Shanmuga Pandi
2015/07/29 06:55:04
Ok. I will change.
|
+enum EPaintOrder { |
+ PaintOrderNormal = 0, |
+ PaintOrderFill = 1, |
+ PaintOrderFillMarkers = 2, |
+ PaintOrderStroke = 3, |
+ PaintOrderStrokeMarkers = 4, |
+ PaintOrderMarkers = 5, |
+ PaintOrderMarkersStroke = 6 |
+}; |
// Inherited/Non-Inherited Style Datastructures |
class StyleFillData : public RefCounted<StyleFillData> { |