Index: gm/samplerstress.cpp |
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp |
index 29be6843f9121019d3d401a0183021e51d8379e3..ad3e89c8843df6d8419dc32f9fe0fefe3e18ae10 100644 |
--- a/gm/samplerstress.cpp |
+++ b/gm/samplerstress.cpp |
@@ -115,7 +115,7 @@ protected: |
SkPath path; |
path.addRoundRect(temp, SkIntToScalar(5), SkIntToScalar(5)); |
- canvas->clipPath(path, SkRegion::kReplace_Op, true); // AA is on |
+ canvas->legacyClipPath(path, SkRegion::kReplace_Op, true); // AA is on |
canvas->drawText("M", 1, |
SkIntToScalar(100), SkIntToScalar(100), |