aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleTextOnPath.cpp
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-18 17:02:15 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-18 17:02:15 +0000
commit2c1eb6f08d77d85d3d422444fc8f4b0b0fc25037 (patch)
treeb9d996bb204b4c122151f77938eb43aa93bdaafb /samplecode/SampleTextOnPath.cpp
parent4370aedf7f55af74e9ebb4ad1c2e010c08236dfa (diff)
git-svn-id: http://skia.googlecode.com/svn/trunk@3060 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleTextOnPath.cpp')
-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);
-