Index: src/pipe/SkPipeReader.cpp |
diff --git a/src/pipe/SkPipeReader.cpp b/src/pipe/SkPipeReader.cpp |
index e0ca3733a2b0505568c3c9b0e2c37e230ab4715e..715781304d552ba3f4d6e9732dcec69b91d22a44 100644 |
--- a/src/pipe/SkPipeReader.cpp |
+++ b/src/pipe/SkPipeReader.cpp |
@@ -268,21 +268,21 @@ static void concat_handler(SkPipeReader& reader, uint32_t packedVerb, SkCanvas* |
static void clipRect_handler(SkPipeReader& reader, uint32_t packedVerb, SkCanvas* canvas) { |
SkASSERT(SkPipeVerb::kClipRect == unpack_verb(packedVerb)); |
- SkRegion::Op op = (SkRegion::Op)(unpack_verb_extra(packedVerb) >> 1); |
+ SkCanvas::ClipOp op = (SkCanvas::ClipOp)(unpack_verb_extra(packedVerb) >> 1); |
bool isAA = unpack_verb_extra(packedVerb) & 1; |
canvas->clipRect(*skip<SkRect>(reader), op, isAA); |
} |
static void clipRRect_handler(SkPipeReader& reader, uint32_t packedVerb, SkCanvas* canvas) { |
SkASSERT(SkPipeVerb::kClipRRect == unpack_verb(packedVerb)); |
- SkRegion::Op op = (SkRegion::Op)(unpack_verb_extra(packedVerb) >> 1); |
+ SkCanvas::ClipOp op = (SkCanvas::ClipOp)(unpack_verb_extra(packedVerb) >> 1); |
bool isAA = unpack_verb_extra(packedVerb) & 1; |
canvas->clipRRect(read_rrect(reader), op, isAA); |
} |
static void clipPath_handler(SkPipeReader& reader, uint32_t packedVerb, SkCanvas* canvas) { |
SkASSERT(SkPipeVerb::kClipPath == unpack_verb(packedVerb)); |
- SkRegion::Op op = (SkRegion::Op)(unpack_verb_extra(packedVerb) >> 1); |
+ SkCanvas::ClipOp op = (SkCanvas::ClipOp)(unpack_verb_extra(packedVerb) >> 1); |
bool isAA = unpack_verb_extra(packedVerb) & 1; |
SkPath path; |
reader.readPath(&path); |
@@ -291,7 +291,7 @@ static void clipPath_handler(SkPipeReader& reader, uint32_t packedVerb, SkCanvas |
static void clipRegion_handler(SkPipeReader& reader, uint32_t packedVerb, SkCanvas* canvas) { |
SkASSERT(SkPipeVerb::kClipRegion == unpack_verb(packedVerb)); |
- SkRegion::Op op = (SkRegion::Op)(unpack_verb_extra(packedVerb) >> 1); |
+ SkCanvas::ClipOp op = (SkCanvas::ClipOp)(unpack_verb_extra(packedVerb) >> 1); |
SkRegion region; |
reader.readRegion(®ion); |
canvas->clipRegion(region, op); |