Bug 957783: Drop unused variable 'compositable' from CompositableParentManager::ReceiveCompositableUpdate. r=nical
authorDaniel Holbert <dholbert@cs.stanford.edu>
Thu, 09 Jan 2014 06:26:19 -0800
changeset 178710 e97e5004b17aae307113b8d95f1316796f38a8c7
parent 178709 2b150c4d305ad47955c82d9b3d858baf377b9211
child 178711 198d23cf8b64a01110d8b0f6a27161e0a27072ce
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnical
bugs957783
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 957783: Drop unused variable 'compositable' from CompositableParentManager::ReceiveCompositableUpdate. r=nical
gfx/layers/ipc/CompositableTransactionParent.cpp
--- a/gfx/layers/ipc/CompositableTransactionParent.cpp
+++ b/gfx/layers/ipc/CompositableTransactionParent.cpp
@@ -230,18 +230,16 @@ CompositableParentManager::ReceiveCompos
 
       if (IsAsync()) {
         ScheduleComposition(op);
       }
       break;
     }
     case CompositableOperation::TOpUpdateTexture: {
       const OpUpdateTexture& op = aEdit.get_OpUpdateTexture();
-      CompositableHost* compositable = AsCompositable(op);
-      MOZ_ASSERT(compositable);
       RefPtr<TextureHost> texture = TextureHost::AsTextureHost(op.textureParent());
       MOZ_ASSERT(texture);
 
       texture->Updated(op.region().type() == MaybeRegion::TnsIntRegion
                        ? &op.region().get_nsIntRegion()
                        : nullptr); // no region means invalidate the entire surface
 
       break;