aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/drawatlascolor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/drawatlascolor.cpp')
-rw-r--r--gm/drawatlascolor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/drawatlascolor.cpp b/gm/drawatlascolor.cpp
index de64caba80..548641b354 100644
--- a/gm/drawatlascolor.cpp
+++ b/gm/drawatlascolor.cpp
@@ -138,7 +138,7 @@ protected:
for (int i = 0; i < numModes; ++i) {
const char* label = SkBlendMode_Name(gModes[i]);
- canvas->drawText(label, strlen(label),
+ canvas->drawString(label,
i*(target.width()+kPad)+kPad, SkIntToScalar(kTextPad),
textP);
}