From: epoger@google.com Date: Wed, 18 Jan 2012 17:02:15 +0000 (+0000) Subject: Landing change from http://codereview.appspot.com/5540063/ X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~16956 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c1eb6f08d77d85d3d422444fc8f4b0b0fc25037;p=platform%2Fupstream%2FlibSkiaSharp.git Landing change from codereview.appspot.com/5540063/ git-svn-id: http://skia.googlecode.com/svn/trunk@3060 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/samplecode/SampleTextOnPath.cpp b/samplecode/SampleTextOnPath.cpp index f3c98f8..2b73e9a 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); -