Back out changeset db4fd6efba17 for wrong bug number r=me
authorNicholas Cameron <ncameron@mozilla.com>
Thu, 18 Oct 2012 21:39:15 +1300
changeset 110773 feeaf869c460e617aea11e2448ba57986d73a683
parent 110772 1a263da752602cb823b33deeaa1f6e00a524b995
child 110774 5378ee5b79b22a6907fcaa9157cf33581a9b373c
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersme
milestone19.0a1
backs outdb4fd6efba172f8129ec9f48f0a534366dfcbdac
Back out changeset db4fd6efba17 for wrong bug number r=me
gfx/layers/basic/BasicCanvasLayer.cpp
--- a/gfx/layers/basic/BasicCanvasLayer.cpp
+++ b/gfx/layers/basic/BasicCanvasLayer.cpp
@@ -411,18 +411,16 @@ BasicShadowableCanvasLayer::Paint(gfxCon
       handle = mGLContext->CreateSharedHandle(flags);
       if (handle) {
         mBackBuffer = SharedTextureDescriptor(flags, handle, mBounds.Size(), false);
       }
     }
     if (handle) {
       mGLContext->MakeCurrent();
       mGLContext->UpdateSharedHandle(flags, handle);
-      // call Painted() to reset our dirty 'bit'
-      Painted();
       FireDidTransactionCallback();
       BasicManager()->PaintedCanvas(BasicManager()->Hold(this),
                                     mNeedsYFlip,
                                     mBackBuffer);
       // Move SharedTextureHandle ownership to ShadowLayer
       mBackBuffer = SurfaceDescriptor();
       return;
     }