aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar herb <herb@google.com>2016-05-10 14:53:34 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-10 14:53:34 -0700
commit1956b4ae1c9a47833b174f31c054d347ea04db09 (patch)
tree3b877e56d69ded0982e7434467d1411622f040b3 /bench
parent154349b6fff27a19533ae528d43a5b52e4e11d3d (diff)
Use proper color type for assert.
Diffstat (limited to 'bench')
-rw-r--r--bench/SkBlend_optsBench.cpp2
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();