Fix crash when nesting Picture recording.
b/4490619, http://code.google.com/p/android/issues/detail?id=16644 Change-Id: Ia227c87cba61e0d0b6f86b01a064a3eefe447fe1
This commit is contained in:
@@ -48,7 +48,7 @@ public:
|
||||
|
||||
static void killPicture(JNIEnv* env, jobject, SkPicture* picture) {
|
||||
SkASSERT(picture);
|
||||
delete picture;
|
||||
picture->unref();
|
||||
}
|
||||
|
||||
static void draw(JNIEnv* env, jobject, SkCanvas* canvas,
|
||||
|
||||
Reference in New Issue
Block a user