Bug 913298. Remove AddMaskEffect and RemoveMaskEffect declarations. r=nical
authorNicholas Cameron <ncameron@mozilla.com>
Mon, 09 Sep 2013 09:06:57 +1200
changeset 146100 08144be95a5c45e9290a5b30077abb5abf7715e7
parent 146099 ca1ff26fc797d4ae44b8655b890f6a12f724de71
child 146101 e8be00af7e2cdb7956bb9ab4af49b692b0894e13
push id25240
push useremorley@mozilla.com
push dateMon, 09 Sep 2013 12:09:06 +0000
treeherdermozilla-central@9846f07d5867 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnical
bugs913298
milestone26.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 913298. Remove AddMaskEffect and RemoveMaskEffect declarations. r=nical
gfx/layers/composite/LayerManagerComposite.h
--- a/gfx/layers/composite/LayerManagerComposite.h
+++ b/gfx/layers/composite/LayerManagerComposite.h
@@ -180,22 +180,16 @@ public:
   /**
    * Setup World transform matrix.
    * Transform will be ignored if it is not PreservesAxisAlignedRectangles
    * or has non integer scale
    */
   void SetWorldTransform(const gfxMatrix& aMatrix);
   gfxMatrix& GetWorldTransform(void);
 
-  static bool AddMaskEffect(Layer* aMaskLayer,
-                            EffectChain& aEffect,
-                            bool aIs3D = false);
-
-  static void RemoveMaskEffect(Layer* aMaskLayer);
-
   /**
    * RAII helper class to add a mask effect with the compositable from aMaskLayer
    * to the EffectChain aEffect and notify the compositable when we are done.
    */
   class AutoAddMaskEffect
   {
   public:
     AutoAddMaskEffect(Layer* aMaskLayer,