Bug 627087 - Awesomescreen + Preferences Screens: jerky, text disappears (backout) [r=blassey a=b-f]
authorMark Finkle <mfinkle@mozilla.com>
Fri, 21 Jan 2011 13:14:03 -0500
changeset 61092 fe04d3537b36eb95a03decd282f6974432277cbd
parent 61091 64c7b8b4e0465f7cc9e89c0785528fa58bc8d504
child 61093 e7e1971ead8849848f8d38c50cd05d07093513ee
push idunknown
push userunknown
push dateunknown
reviewersblassey, b-f
bugs627087
milestone2.0b10pre
Bug 627087 - Awesomescreen + Preferences Screens: jerky, text disappears (backout) [r=blassey a=b-f]
widget/src/android/nsWindow.cpp
--- a/widget/src/android/nsWindow.cpp
+++ b/widget/src/android/nsWindow.cpp
@@ -890,17 +890,17 @@ nsWindow::DrawTo(gfxASurface *targetSurf
         nsPaintEvent event(PR_TRUE, NS_PAINT, this);
         event.region = boundsRect;
         switch (GetLayerManager(nsnull)->GetBackendType()) {
             case LayerManager::LAYERS_BASIC: {
                 nsRefPtr<gfxContext> ctx = new gfxContext(targetSurface);
 
                 {
                     AutoLayerManagerSetup
-                      setupLayerManager(this, ctx, BasicLayerManager::BUFFER_BUFFERED);
+                      setupLayerManager(this, ctx, BasicLayerManager::BUFFER_NONE);
                     status = DispatchEvent(&event);
                 }
 
                 // XXX uhh.. we can't just ignore this because we no longer have
                 // what we needed before, but let's keep drawing the children anyway?
 #if 0
                 if (status == nsEventStatus_eIgnore)
                     return PR_FALSE;