Bug 1359748 - Remove commented-out code. r?jrmuizel draft
authorKartikaya Gupta <kgupta@mozilla.com>
Wed, 26 Apr 2017 16:37:14 -0400
changeset 568964 6032e118fd63fe9e745461781a2be8508a5e4f12
parent 568829 55f0e9adcbd7492b7e5e031c83b1c20482de4b0c
child 568965 c8996739dbc29d57c4f835e15f9ce9d64fdd7a7c
push id56034
push userkgupta@mozilla.com
push dateWed, 26 Apr 2017 20:37:45 +0000
reviewersjrmuizel
bugs1359748
milestone55.0a1
Bug 1359748 - Remove commented-out code. r?jrmuizel MozReview-Commit-ID: AXzdmChDoUc
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
@@ -166,17 +166,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)