Index: include/gpu/GrXferProcessor.h |
diff --git a/include/gpu/GrXferProcessor.h b/include/gpu/GrXferProcessor.h |
index 332d9d2e23cc865e3d3170a70a882fb2eb7f58e9..41f8abb74058503441e8fa94dbeb27f7310bdfe5 100644 |
--- a/include/gpu/GrXferProcessor.h |
+++ b/include/gpu/GrXferProcessor.h |
@@ -104,10 +104,6 @@ public: |
*/ |
enum OptFlags { |
/** |
- * No optimizations needed |
- */ |
- kNone_Opt = 0, |
- /** |
* The draw can be skipped completely. |
*/ |
kSkipDraw_OptFlag = 0x1, |
@@ -129,6 +125,8 @@ public: |
kCanTweakAlphaForCoverage_OptFlag = 0x20, |
}; |
+ static const OptFlags kNone_OptFlags = (OptFlags)0; |
+ |
GR_DECL_BITFIELD_OPS_FRIENDS(OptFlags); |
/** |