mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
Bug 821224 - Don't recycle a bitmap that may be the same object as one we are still using. r=sriram
This commit is contained in:
parent
f429ab63fa
commit
4e8b660625
@ -97,7 +97,6 @@ public class LightweightTheme implements GeckoEventListener {
|
||||
mBitmap.getHeight() - height,
|
||||
maxWidth, height);
|
||||
mColor = BitmapUtils.getDominantColor(cropped, false);
|
||||
cropped.recycle();
|
||||
|
||||
notifyListeners();
|
||||
} catch(java.net.MalformedURLException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user