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 7b5cf9bb1ba10caf2e82bfda8fa70d0e5c679355..6629593286919c8e4ebf19a05e34cdbe822da375 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();
}