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:
80c772b
)
fix empty image constructor
author
reed
<reed@chromium.org>
Fri, 31 Jul 2015 02:10:35 +0000
(19:10 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Fri, 31 Jul 2015 02:10:35 +0000
(19:10 -0700)
fBitmap was not fully constructed yet
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/
1264773004
src/image/SkImage_Raster.cpp
patch
|
blob
|
history
diff --git
a/src/image/SkImage_Raster.cpp
b/src/image/SkImage_Raster.cpp
index
7b5cf9b
..
6629593
100644
(file)
--- a/
src/image/SkImage_Raster.cpp
+++ b/
src/image/SkImage_Raster.cpp
@@
-91,7
+91,7
@@
public:
}
private:
- SkImage_Raster() : INHERITED(0, 0,
fBitmap.getGenerationID()
, NULL) {
+ SkImage_Raster() : INHERITED(0, 0,
kNeedNewImageUniqueID
, NULL) {
fBitmap.setImmutable();
}