Index: tools/debugger/SkDrawCommand.h |
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h |
index 07dd477f6a93620b6cbc4efe9b88f2ccf28eb481..27b56e277ac9a3443c3b3bdca6562b8785528aa8 100644 |
--- a/tools/debugger/SkDrawCommand.h |
+++ b/tools/debugger/SkDrawCommand.h |
@@ -174,69 +174,69 @@ private: |
class SkClipPathCommand : public SkDrawCommand { |
public: |
- SkClipPathCommand(const SkPath& path, SkRegion::Op op, bool doAA); |
+ SkClipPathCommand(const SkPath& path, SkCanvas::ClipOp op, bool doAA); |
void execute(SkCanvas* canvas) const override; |
bool render(SkCanvas* canvas) const override; |
Json::Value toJSON(UrlDataManager& urlDataManager) const override; |
static SkClipPathCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); |
private: |
- SkPath fPath; |
- SkRegion::Op fOp; |
- bool fDoAA; |
+ SkPath fPath; |
+ SkCanvas::ClipOp fOp; |
+ bool fDoAA; |
typedef SkDrawCommand INHERITED; |
}; |
class SkClipRegionCommand : public SkDrawCommand { |
public: |
- SkClipRegionCommand(const SkRegion& region, SkRegion::Op op); |
+ SkClipRegionCommand(const SkRegion& region, SkCanvas::ClipOp op); |
void execute(SkCanvas* canvas) const override; |
Json::Value toJSON(UrlDataManager& urlDataManager) const override; |
static SkClipRegionCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); |
private: |
- SkRegion fRegion; |
- SkRegion::Op fOp; |
+ SkRegion fRegion; |
+ SkCanvas::ClipOp fOp; |
typedef SkDrawCommand INHERITED; |
}; |
class SkClipRectCommand : public SkDrawCommand { |
public: |
- SkClipRectCommand(const SkRect& rect, SkRegion::Op op, bool doAA); |
+ SkClipRectCommand(const SkRect& rect, SkCanvas::ClipOp op, bool doAA); |
void execute(SkCanvas* canvas) const override; |
Json::Value toJSON(UrlDataManager& urlDataManager) const override; |
static SkClipRectCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); |
const SkRect& rect() const { return fRect; } |
- SkRegion::Op op() const { return fOp; } |
+ SkCanvas::ClipOp op() const { return fOp; } |
bool doAA() const { return fDoAA; } |
private: |
- SkRect fRect; |
- SkRegion::Op fOp; |
- bool fDoAA; |
+ SkRect fRect; |
+ SkCanvas::ClipOp fOp; |
+ bool fDoAA; |
typedef SkDrawCommand INHERITED; |
}; |
class SkClipRRectCommand : public SkDrawCommand { |
public: |
- SkClipRRectCommand(const SkRRect& rrect, SkRegion::Op op, bool doAA); |
+ SkClipRRectCommand(const SkRRect& rrect, SkCanvas::ClipOp op, bool doAA); |
void execute(SkCanvas* canvas) const override; |
bool render(SkCanvas* canvas) const override; |
Json::Value toJSON(UrlDataManager& urlDataManager) const override; |
static SkClipRRectCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); |
const SkRRect& rrect() const { return fRRect; } |
- SkRegion::Op op() const { return fOp; } |
+ SkCanvas::ClipOp op() const { return fOp; } |
bool doAA() const { return fDoAA; } |
private: |
- SkRRect fRRect; |
- SkRegion::Op fOp; |
- bool fDoAA; |
+ SkRRect fRRect; |
+ SkCanvas::ClipOp fOp; |
+ bool fDoAA; |
typedef SkDrawCommand INHERITED; |
}; |