diff options
author | Cary Clark <caryclark@skia.org> | 2018-04-24 14:47:16 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-24 19:19:01 +0000 |
commit | 6cdb7d3a4ca932d1564ffea1602d5c39c5e046a2 (patch) | |
tree | 59bde1b72f8317024053f25ea43c8d4c4c41d8cd /bench | |
parent | fb20ac4578582f31b807d3c27be46b0102c048cc (diff) |
prepare to remove obsolete macros
SkColorSetARGBMacro and SkColorSetARGBInline
are macros which will be deleted. Replace them
with a standard equivalent.
R=scroggo@google.com
Bug: skia:6898
Change-Id: I16e010776e991c19a375d0686ecd1b1cc4c59a9b
Reviewed-on: https://skia-review.googlesource.com/123501
Auto-Submit: Cary Clark <caryclark@skia.org>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'bench')
-rw-r--r-- | bench/TileBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/TileBench.cpp b/bench/TileBench.cpp index cd2654611b..4a69ccbb2f 100644 --- a/bench/TileBench.cpp +++ b/bench/TileBench.cpp @@ -83,7 +83,7 @@ protected: paint.setFilterQuality(fDoFilter ? kLow_SkFilterQuality : kNone_SkFilterQuality); if (fDoTrans) { - paint.setColor(SkColorSetARGBMacro(0x80, 0xFF, 0xFF, 0xFF)); + paint.setColor(SkColorSetARGB(0x80, 0xFF, 0xFF, 0xFF)); } SkRect r; |