add rlepixelref file to make, to keep it from bit-rot
update rlepixelref to not use safeRef/safeUnref (as those are gone now) git-svn-id: http://skia.googlecode.com/svn/trunk@767 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
534240f605
commit
b715ef7150
@ -22,12 +22,12 @@ RLEPixelRef::RLEPixelRef(SkBitmap::RLEPixels* rlep, SkColorTable* ctable)
|
||||
: SkPixelRef(NULL) {
|
||||
fRLEPixels = rlep; // we now own this ptr
|
||||
fCTable = ctable;
|
||||
ctable->safeRef();
|
||||
SkSafeRef(ctable);
|
||||
}
|
||||
|
||||
RLEPixelRef::~RLEPixelRef() {
|
||||
SkDELETE(fRLEPixels);
|
||||
fCTable->safeUnref();
|
||||
SkSafeUnref(fCTable);
|
||||
}
|
||||
|
||||
void* RLEPixelRef::onLockPixels(SkColorTable** ct) {
|
||||
|
@ -1,3 +1,4 @@
|
||||
SOURCE := \
|
||||
SkCreateRLEPixelRef.cpp \
|
||||
SkImageDecoder.cpp \
|
||||
SkImageEncoder.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user