diff options
author | 2016-09-20 08:42:38 -0700 | |
---|---|---|
committer | 2016-09-20 08:42:39 -0700 | |
commit | 73603f3c52ffd89fe9d035be827b566a0e7d3b79 (patch) | |
tree | 873793b81536379196233f313b1a093d02bdac0e /include/core/SkPictureAnalyzer.h | |
parent | cae1be5acc8148fc5cbadd8730ee7994e50a1a47 (diff) |
abstract name of clipping ops, to transtion to a more restricted set
SkRegion::Op --> SkCanvas::ClipOp (alias) --> SkClipOp
pre-CL needed in chrome : https://codereview.chromium.org/2355583002/
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2355483002
Review-Url: https://codereview.chromium.org/2355483002
Diffstat (limited to 'include/core/SkPictureAnalyzer.h')
-rw-r--r-- | include/core/SkPictureAnalyzer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkPictureAnalyzer.h b/include/core/SkPictureAnalyzer.h index c46ca1e854..62dac30f01 100644 --- a/include/core/SkPictureAnalyzer.h +++ b/include/core/SkPictureAnalyzer.h @@ -8,6 +8,7 @@ #ifndef SkPictureAnalyzer_DEFINED #define SkPictureAnalyzer_DEFINED +#include "SkCanvas.h" #include "SkRefCnt.h" #include "SkRegion.h" #include "SkTypes.h" @@ -36,7 +37,7 @@ public: /** * Process an explicit clipPath op. */ - void analyzeClipPath(const SkPath&, SkRegion::Op, bool doAntiAlias); + void analyzeClipPath(const SkPath&, SkCanvas::ClipOp, bool doAntiAlias); /** * Reset all accumulated stats. |