Bug 662258 - GCC warning about BasicThebesLayerBuffer::CreateBuffer getting hidden by ShadowThebesLayerBuffer::CreateBuffer. r=roc
authorBenoit Jacob <bjacob@mozilla.com>
Sat, 24 Sep 2011 21:01:18 +0200
changeset 77510 e63de88c57805ed75f8a9e20b102af7b6d436a0c
parent 77509 e8ed233379f25842026b930c863be26a52433a28
child 77511 7fa8649917d12266fba48a0ac07d76b7c93d510f
push id21206
push userbmo@edmorley.co.uk
push dateSun, 25 Sep 2011 13:03:56 +0000
treeherdermozilla-central@9b6a135f9659 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs662258
milestone9.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 662258 - GCC warning about BasicThebesLayerBuffer::CreateBuffer getting hidden by ShadowThebesLayerBuffer::CreateBuffer. r=roc
gfx/layers/basic/BasicLayers.cpp
--- a/gfx/layers/basic/BasicLayers.cpp
+++ b/gfx/layers/basic/BasicLayers.cpp
@@ -2684,17 +2684,17 @@ public:
     nsRefPtr<gfxASurface> oldBuffer;
     oldBuffer = SetBuffer(aNewBuffer,
                           aNewRect, aNewRotation);
     oldBuffer.forget(aOldBuffer);
   }
 
 protected:
   virtual already_AddRefed<gfxASurface>
-  CreateBuffer(ContentType aType, const nsIntSize& aSize)
+  CreateBuffer(ContentType, const nsIntSize&, PRUint32)
   {
     NS_RUNTIMEABORT("ShadowThebesLayer can't paint content");
     return nsnull;
   }
 };
 
 
 class BasicShadowThebesLayer : public ShadowThebesLayer, public BasicImplData {