bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only copy the region that was painted r=kats

This commit is contained in:
Brad Lassey
2012-06-05 14:59:01 -04:00
parent 02936c09bf
commit 54911a2c0f
5 changed files with 29 additions and 18 deletions

View File

@@ -573,8 +573,10 @@ public class GeckoAppShell
// these 2 stubs are never called in XUL Fennec, but we need them so that
// the JNI code shared between XUL and Native Fennec doesn't die.
public static void notifyScreenShot(final ByteBuffer data, final int tabId, final int x, final int y,
final int width, final int height, final int token) {
public static void notifyScreenShot(final ByteBuffer data, final int tabId,
final int left, final int top,
final int right, final int bottom,
final int bufferWidth, final int bufferHeight, final int token) {
}
public static void notifyPaintedRect(float top, float left, float bottom, float right) {