Index: src/gpu/GrStrokeInfo.h |
diff --git a/src/gpu/GrStrokeInfo.h b/src/gpu/GrStrokeInfo.h |
index a820a02a0c8e8ef734a42a29bc660656f357dcdb..9cf7d8302f1388b0490e906945c3a2ea24909769 100644 |
--- a/src/gpu/GrStrokeInfo.h |
+++ b/src/gpu/GrStrokeInfo.h |
@@ -21,6 +21,11 @@ class GrUniqueKey; |
*/ |
class GrStrokeInfo : public SkStrokeRec { |
public: |
+ static const GrStrokeInfo& FillInfo() { |
+ static const GrStrokeInfo gFill(kFill_InitStyle); |
+ return gFill; |
+ } |
+ |
GrStrokeInfo(SkStrokeRec::InitStyle style) |
: INHERITED(style) |
, fDashType(SkPathEffect::kNone_DashType) { |