Index: tests/CanvasTest.cpp |
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp |
index b3b1a37dfca281d519d053fa6b72f8d52d3baec2..5f3d79ceeb43bc069d1c981bccdf311f49f1d52f 100644 |
--- a/tests/CanvasTest.cpp |
+++ b/tests/CanvasTest.cpp |
@@ -69,10 +69,13 @@ class Canvas2CanvasClipVisitor : public SkCanvas::ClipVisitor { |
public: |
Canvas2CanvasClipVisitor(SkCanvas* target) : fTarget(target) {} |
- virtual void clipRect(const SkRect& r, SkRegion::Op op, bool aa) { |
+ virtual void clipRect(const SkRect& r, SkRegion::Op op, bool aa) SK_OVERRIDE { |
fTarget->clipRect(r, op, aa); |
} |
- virtual void clipPath(const SkPath& p, SkRegion::Op op, bool aa) { |
+ virtual void clipRRect(const SkRRect& r, SkRegion::Op op, bool aa) SK_OVERRIDE { |
+ fTarget->clipRRect(r, op, aa); |
+ } |
+ virtual void clipPath(const SkPath& p, SkRegion::Op op, bool aa) SK_OVERRIDE { |
fTarget->clipPath(p, op, aa); |
} |