aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/AAClipBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/AAClipBench.cpp')
-rw-r--r--bench/AAClipBench.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/bench/AAClipBench.cpp b/bench/AAClipBench.cpp
index f91216e965..f3159b6168 100644
--- a/bench/AAClipBench.cpp
+++ b/bench/AAClipBench.cpp
@@ -59,9 +59,9 @@ protected:
canvas->save();
#if 1
if (fDoPath) {
- canvas->clipPath(fClipPath, SkCanvas::kReplace_Op, fDoAA);
+ canvas->clipPath(fClipPath, kReplace_SkClipOp, fDoAA);
} else {
- canvas->clipRect(fClipRect, SkCanvas::kReplace_Op, fDoAA);
+ canvas->clipRect(fClipRect, kReplace_SkClipOp, fDoAA);
}
canvas->drawRect(fDrawRect, paint);
@@ -130,8 +130,7 @@ protected:
SkASSERT(path.isConvex());
canvas->clipPath(path,
- 0 == depth ? SkCanvas::kReplace_Op :
- SkCanvas::kIntersect_Op,
+ 0 == depth ? kReplace_SkClipOp : kIntersect_SkClipOp,
fDoAA);
if (kNestingDepth == depth) {