diff options
author | John Reck <jreck@google.com> | 2019-01-10 14:37:17 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2019-01-10 15:34:49 -0800 |
commit | 6104cea3fb0bddd766f390f9f4e2db9fc00b410e (patch) | |
tree | 3493ab6e3dc09dd9ffd027bc1fa85cc84abb2635 /libs/hwui/HardwareBitmapUploader.h | |
parent | 8b9351ba04eef507d4ff97a84d0c13df60507daf (diff) |
Fix leak/crash in exit
Bug: 120440607
Test: hwuimacro32 doesn't crash
Change-Id: I35b7a924e338efb314f07b923ba22ffcf98f75ee
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.h')
-rw-r--r-- | libs/hwui/HardwareBitmapUploader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/HardwareBitmapUploader.h b/libs/hwui/HardwareBitmapUploader.h index 6298013bd263..40f2b0c7873c 100644 --- a/libs/hwui/HardwareBitmapUploader.h +++ b/libs/hwui/HardwareBitmapUploader.h @@ -23,6 +23,7 @@ namespace android::uirenderer { class HardwareBitmapUploader { public: static sk_sp<Bitmap> allocateHardwareBitmap(const SkBitmap& sourceBitmap); + static void terminate(); }; } // namespace android::uirenderer |