Backed out changeset 39a3044823b0 because of bad interaction with maple.

This commit is contained in:
Benoit Girard
2012-03-02 18:32:46 -05:00
parent a41da854d6
commit ae335d8d56
334 changed files with 3273 additions and 5522 deletions

View File

@@ -456,13 +456,10 @@ public class GeckoAppShell
final int width, final int height) {
getHandler().post(new Runnable() {
public void run() {
final Tab tab = Tabs.getInstance().getTab(tabId);
if (tab == null)
return;
Bitmap b = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565);
b.copyPixelsFromBuffer(data);
freeDirectBuffer(data);
final Tab tab = Tabs.getInstance().getTab(tabId);
GeckoApp.mAppContext.processThumbnail(tab, b, null);
}
});