bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, follow up to fix XUL builds r=kats
authorBrad Lassey <blassey@mozilla.com>
Mon, 04 Jun 2012 13:50:26 -0400
changeset 95759 c8550894c4999f5936a2490f2a22cccc11c110ae
parent 95758 844ed9db04646c300da4029fa4ef21ec4314e540
child 95760 26dcd1b1a20893ad99341c61c6b1239ff1523858
push idunknown
push userunknown
push dateunknown
reviewerskats
bugs755070
milestone15.0a1
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, follow up to fix XUL builds r=kats
embedding/android/GeckoEvent.java
--- a/embedding/android/GeckoEvent.java
+++ b/embedding/android/GeckoEvent.java
@@ -10,16 +10,17 @@ import android.app.*;
 import android.view.*;
 import android.content.*;
 import android.graphics.*;
 import android.widget.*;
 import android.hardware.*;
 import android.location.*;
 import android.util.FloatMath;
 import android.util.DisplayMetrics;
+import java.nio.ByteBuffer;
 
 import android.util.Log;
 
 /* We're not allowed to hold on to most events given to us
  * so we save the parts of the events we want to use in GeckoEvent.
  * Fields have different meanings depending on the event type.
  */
 
@@ -95,16 +96,18 @@ public class GeckoEvent {
 
     public double mBandwidth;
     public boolean mCanBeMetered;
 
     public short mScreenOrientation;
 
     public int mNativeWindow;
 
+    public ByteBuffer mBuffer;
+
     public GeckoEvent() {
         mType = NATIVE_POKE;
     }
 
     public GeckoEvent(int evType) {
         mType = evType;
     }