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:
9ed7f57
)
fix SK_LEGACY_ENCODE_BITMAP missing cast
author
reed
<reed@google.com>
Fri, 19 Dec 2014 20:43:47 +0000
(12:43 -0800)
committer
Commit bot
<commit-bot@chromium.org>
Fri, 19 Dec 2014 20:43:47 +0000
(12:43 -0800)
BUG=skia:
TBR=
NOTRY=True
NOTREECHECKS=True
Review URL: https://codereview.chromium.org/
815223002
src/core/SkPicture.cpp
patch
|
blob
|
history
diff --git
a/src/core/SkPicture.cpp
b/src/core/SkPicture.cpp
index 921fbdf532a3e9340e12c30f3404dd374e0b58cb..d110e295b11e3ecd3587d0490ea8ce63c08aa045 100644
(file)
--- a/
src/core/SkPicture.cpp
+++ b/
src/core/SkPicture.cpp
@@
-472,7
+472,7
@@
public:
// Required by signature of EncodeBitmap.
size_t unused;
SkBitmap bm;
- bm.installPixels(info,
pixels
, rowBytes);
+ bm.installPixels(info,
const_cast<void*>(pixels)
, rowBytes);
return fEncoder(&unused, bm);
}