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:
Kartikaya Gupta 2012-12-13 14:31:12 -05:00
parent f429ab63fa
commit 4e8b660625

View File

@ -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) {