commit | 066e9b88021efb443bac014551944f2d1b6ac20f | [log] [tgz] |
---|---|---|
author | Wei-Yin Chen (陳威尹) <wychen@chromium.org> | Tue May 14 22:00:12 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 14 22:00:12 2019 |
tree | 3ba81b88dea128f0db264eb5058a3fdf804c94de | |
parent | 983ae99f758bc58c07f10d9ba97174dc6a153bc1 [diff] |
Fix memory leak in RoundedCornerImageView After calling #setImageDrawable(null), the Bitmap is still retained in the BitmapShader of mPaint. This CL resets the Shader in that case. Bug: 959886 Change-Id: I995f46940281eedd4160b139e67a5ee4e18b5c34 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1595292 Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Reviewed-by: David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#659679}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .