File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
graphics/java/android/graphics Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -8001,7 +8001,7 @@ package android.graphics {
80018001 method public android.graphics.DrawFilter getDrawFilter();
80028002 method public int getHeight();
80038003 method public deprecated void getMatrix(android.graphics.Matrix);
8004- method public final android.graphics.Matrix getMatrix();
8004+ method public final deprecated android.graphics.Matrix getMatrix();
80058005 method public int getMaximumBitmapHeight();
80068006 method public int getMaximumBitmapWidth();
80078007 method public int getSaveCount();
Original file line number Diff line number Diff line change @@ -28,7 +28,11 @@ public class DrawFilter {
2828 /* package */ int mNativeInt ; // pointer to native object
2929
3030 protected void finalize () throws Throwable {
31- nativeDestructor (mNativeInt );
31+ try {
32+ nativeDestructor (mNativeInt );
33+ } finally {
34+ super .finalize ();
35+ }
3236 }
3337
3438 private static native void nativeDestructor (int nativeDrawFilter );
Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ class DisplayListRenderer: public OpenGLRenderer {
422422 return ;
423423 }
424424
425- SkPaint* paintCopy = mPaintMap .valueFor (paint);
425+ SkPaint* paintCopy = mPaintMap .valueFor (paint);
426426 if (paintCopy == NULL || paintCopy->getGenerationID () != paint->getGenerationID ()) {
427427 paintCopy = new SkPaint (*paint);
428428 mPaintMap .add (paint, paintCopy);
You can’t perform that action at this time.
0 commit comments