diff options
author | herb <herb@google.com> | 2016-05-10 14:53:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-10 14:53:34 -0700 |
commit | 1956b4ae1c9a47833b174f31c054d347ea04db09 (patch) | |
tree | 3b877e56d69ded0982e7434467d1411622f040b3 /bench | |
parent | 154349b6fff27a19533ae528d43a5b52e4e11d3d (diff) |
Use proper color type for assert.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1967803002
Review-Url: https://codereview.chromium.org/1967803002
Diffstat (limited to 'bench')
-rw-r--r-- | bench/SkBlend_optsBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/SkBlend_optsBench.cpp b/bench/SkBlend_optsBench.cpp index 5ef9c150eb..24f1f85229 100644 --- a/bench/SkBlend_optsBench.cpp +++ b/bench/SkBlend_optsBench.cpp @@ -115,7 +115,7 @@ protected: } const char* onGetName() override { return fName.c_str(); } void onDraw(int loops, SkCanvas*) override { - SkASSERT(fPixmap.colorType() == kRGBA_8888_SkColorType); + SkASSERT(fPixmap.colorType() == kN32_SkColorType); const int width = fPixmap.rowBytesAsPixels(); |