aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrStrokeInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrStrokeInfo.h')
-rw-r--r--src/gpu/GrStrokeInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpu/GrStrokeInfo.h b/src/gpu/GrStrokeInfo.h
index a820a02a0c..9cf7d8302f 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) {