rename obsolete SkColor.h macro (#5175)

change SkColorSetARGBInline to SkColorSetARGB. SkColorSetARGBInline is deprecated and will be deleted from Skia.
This commit is contained in:
cary-clark
2018-05-04 13:44:44 -04:00
committed by Brian Osman
parent d0c99220fd
commit f045500389
+1 -1
View File
@@ -38,7 +38,7 @@ void DrawCheckerboard(SkCanvas* canvas, const SkRect& rect) {
canvas->clipRect(rect);
auto checkerboard_color =
SkColorSetARGBInline(64, rand() % 256, rand() % 256, rand() % 256);
SkColorSetARGB(64, rand() % 256, rand() % 256, rand() % 256);
DrawCheckerboard(canvas, checkerboard_color, 0x00000000, 12);
canvas->restore();