Bug 1359748 - Remove commented-out code. r=jrmuizel
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 27 Apr 2017 11:28:23 -0400
changeset 569613 0c7e93632f4c1c1035ca8417a83b80f560fbb049
parent 569476 674bad1624a5ac186288273126291f322f4f4e66
child 569614 6b896b357ad2d1dcd504ea4f1127f6dc043435c5
push id56240
push usermozilla@buttercookie.de
push dateThu, 27 Apr 2017 18:44:39 +0000
reviewersjrmuizel
bugs1359748
milestone55.0a1
Bug 1359748 - Remove commented-out code. r=jrmuizel MozReview-Commit-ID: 2f67oNaa8Tk
gfx/layers/wr/WebRenderCanvasLayer.cpp
gfx/layers/wr/WebRenderColorLayer.cpp
gfx/layers/wr/WebRenderImageLayer.cpp
gfx/layers/wr/WebRenderPaintedLayer.cpp
--- a/gfx/layers/wr/WebRenderCanvasLayer.cpp
+++ b/gfx/layers/wr/WebRenderCanvasLayer.cpp
@@ -78,17 +78,16 @@ WebRenderCanvasLayer::RenderLayer(wr::Di
   }
 
   WrImageKey key = GetImageKey();
   WrBridge()->AddWebRenderParentCommand(OpAddExternalImage(mExternalImageId.value(), key));
   Manager()->AddImageKeyForDiscard(key);
 
   aBuilder.PushStackingContext(wr::ToWrRect(relBounds),
                                1.0f,
-                               //GetAnimations(),
                                transform,
                                mixBlendMode);
   aBuilder.PushImage(wr::ToWrRect(rect), clip, filter, key);
   aBuilder.PopStackingContext();
 }
 
 void
 WebRenderCanvasLayer::AttachCompositable()
--- a/gfx/layers/wr/WebRenderColorLayer.cpp
+++ b/gfx/layers/wr/WebRenderColorLayer.cpp
@@ -28,17 +28,16 @@ WebRenderColorLayer::RenderLayer(wr::Dis
   WrClipRegion clip = aBuilder.BuildClipRegion(wr::ToWrRect(clipRect), mask.ptrOr(nullptr));
 
   wr::MixBlendMode mixBlendMode = wr::ToWrMixBlendMode(GetMixBlendMode());
 
   DumpLayerInfo("ColorLayer", rect);
 
   aBuilder.PushStackingContext(wr::ToWrRect(relBounds),
                               1.0f,
-                              //GetAnimations(),
                               transform,
                               mixBlendMode);
   aBuilder.PushRect(wr::ToWrRect(rect), clip, wr::ToWrColor(mColor));
   aBuilder.PopStackingContext();
 }
 
 } // namespace layers
 } // namespace mozilla
--- a/gfx/layers/wr/WebRenderImageLayer.cpp
+++ b/gfx/layers/wr/WebRenderImageLayer.cpp
@@ -185,17 +185,16 @@ WebRenderImageLayer::RenderLayer(wr::Dis
   if (gfxPrefs::LayersDump()) {
     printf_stderr("ImageLayer %p texture-filter=%s \n",
                   GetLayer(),
                   Stringify(filter).c_str());
   }
 
   aBuilder.PushStackingContext(wr::ToWrRect(relBounds),
                             1.0f,
-                            //GetAnimations(),
                             transform,
                             mixBlendMode);
   aBuilder.PushImage(wr::ToWrRect(rect), clip, filter, mKey.value());
   aBuilder.PopStackingContext();
 }
 
 Maybe<WrImageMask>
 WebRenderImageLayer::RenderMaskLayer(const gfx::Matrix4x4& aTransform)
--- a/gfx/layers/wr/WebRenderPaintedLayer.cpp
+++ b/gfx/layers/wr/WebRenderPaintedLayer.cpp
@@ -107,17 +107,16 @@ WebRenderPaintedLayer::CreateWebRenderDi
   DumpLayerInfo("PaintedLayer", rect);
 
   WrImageKey key = GetImageKey();
   WrBridge()->AddWebRenderParentCommand(OpAddExternalImage(mExternalImageId.value(), key));
   Manager()->AddImageKeyForDiscard(key);
 
   aBuilder.PushStackingContext(wr::ToWrRect(relBounds),
                               1.0f,
-                              //GetAnimations(),
                               transform,
                               mixBlendMode);
   aBuilder.PushImage(wr::ToWrRect(rect), clip, wr::ImageRendering::Auto, key);
   aBuilder.PopStackingContext();
 }
 
 void
 WebRenderPaintedLayer::RenderLayer(wr::DisplayListBuilder& aBuilder)