Backed out changeset 39a3044823b0 because of bad interaction with maple.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user