aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--samplecode/SampleTextOnPath.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/samplecode/SampleTextOnPath.cpp b/samplecode/SampleTextOnPath.cpp
index f3c98f822b..2b73e9ac44 100644
--- a/samplecode/SampleTextOnPath.cpp
+++ b/samplecode/SampleTextOnPath.cpp
@@ -117,7 +117,7 @@ static void test_textBounds(SkCanvas* canvas) {
paint.setAntiAlias(true);
paint.setDevKernText(gDevKern);
- (void)paint.measureText(gText, strlen(gText), &bounds, NULL);
+ (void)paint.measureText(gText, strlen(gText), &bounds);
paint.setColor(SK_ColorGREEN);
bounds.offset(x, y);
canvas->drawRect(bounds, paint);
@@ -288,4 +288,3 @@ static SkView* MyFactory() {
}
static SkViewRegister reg(MyFactory);
-