Bug 1421563 - Remove TryOptimizeToImageLayer declaration; r=kechen,mattwoodrow
authorAustin Lasher <austin@lasher.email>
Tue, 20 Feb 2018 23:31:09 -0500
changeset 766468 61c9f8520dc85e95f39069c31c2e8833da03c12a
parent 766467 1a09e6c3c0a3c0109c32e49b164c7170fc3cfbe5
child 766469 863272a3efcc01ec7cb5a3fa603cfa5a4549d2d5
push id102335
push userbmo:cmanchester@mozilla.com
push dateMon, 12 Mar 2018 22:26:14 +0000
reviewerskechen, mattwoodrow
bugs1421563
milestone60.0a1
Bug 1421563 - Remove TryOptimizeToImageLayer declaration; r=kechen,mattwoodrow TryOptimizeToImageLayer was renamed/repurposed in c0654f3b986d, but the old declaration was never removed. MozReview-Commit-ID: 52JJofv3u3t
layout/painting/nsDisplayList.h
--- a/layout/painting/nsDisplayList.h
+++ b/layout/painting/nsDisplayList.h
@@ -3993,17 +3993,16 @@ public:
     nsDisplayItem::RemoveFrame(aFrame);
   }
 
 protected:
   typedef class mozilla::layers::ImageContainer ImageContainer;
   typedef class mozilla::layers::ImageLayer ImageLayer;
 
   bool CanBuildWebRenderDisplayItems(LayerManager* aManager);
-  bool TryOptimizeToImageLayer(LayerManager* aManager, nsDisplayListBuilder* aBuilder);
   nsRect GetBoundsInternal(nsDisplayListBuilder* aBuilder,
                            nsIFrame* aFrameForBounds = nullptr);
 
   void PaintInternal(nsDisplayListBuilder* aBuilder, gfxContext* aCtx,
                      const nsRect& aBounds, nsRect* aClipRect);
 
   // Determine whether we want to be separated into our own layer, independent
   // of whether this item can actually be layerized.