projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
154349b
)
Use proper color type for assert.
author
herb
<herb@google.com>
Tue, 10 May 2016 21:53:34 +0000
(14:53 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 10 May 2016 21:53:34 +0000
(14:53 -0700)
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
bench/SkBlend_optsBench.cpp
patch
|
blob
|
history
diff --git
a/bench/SkBlend_optsBench.cpp
b/bench/SkBlend_optsBench.cpp
index 5ef9c150ebdc696756c03b7478a52e2c9a18ffb3..24f1f8522923f5e1099f8ea31d010f757e04cb7d 100644
(file)
--- 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() == k
RGBA_8888
_SkColorType);
+ SkASSERT(fPixmap.colorType() == k
N32
_SkColorType);
const int width = fPixmap.rowBytesAsPixels();