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