aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/samplerstress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/samplerstress.cpp')
-rw-r--r--gm/samplerstress.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp
index 63873499bc..f3287437ee 100644
--- a/gm/samplerstress.cpp
+++ b/gm/samplerstress.cpp
@@ -111,7 +111,7 @@ protected:
canvas->clipPath(path, true); // AA is on
- canvas->drawText("M", 1,
+ canvas->drawString("M",
SkIntToScalar(100), SkIntToScalar(100),
paint);
@@ -126,7 +126,7 @@ protected:
paint2.setStyle(SkPaint::kStroke_Style);
paint2.setStrokeWidth(1);
sk_tool_utils::set_portable_typeface(&paint2);
- canvas->drawText("M", 1,
+ canvas->drawString("M",
SkIntToScalar(100), SkIntToScalar(100),
paint2);