diff options
Diffstat (limited to 'chromium/third_party/skia/samplecode/SampleStrokePath.cpp')
-rw-r--r-- | chromium/third_party/skia/samplecode/SampleStrokePath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/skia/samplecode/SampleStrokePath.cpp b/chromium/third_party/skia/samplecode/SampleStrokePath.cpp index 5feb87cb5a4..c7c69184a4f 100644 --- a/chromium/third_party/skia/samplecode/SampleStrokePath.cpp +++ b/chromium/third_party/skia/samplecode/SampleStrokePath.cpp @@ -128,7 +128,7 @@ protected: void drawSet(SkCanvas* canvas, SkPaint* paint) { SkAutoCanvasRestore acr(canvas, true); - for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { + for (size_t i = 0; i < std::size(gRec); i++) { paint->setStyle(gRec[i].fStyle); paint->setStrokeJoin(gRec[i].fJoin); paint->setStrokeWidth(SkIntToScalar(gRec[i].fStrokeWidth)); |