Bug 662258 - GCC warning about BasicThebesLayerBuffer::CreateBuffer getting hidden by ShadowThebesLayerBuffer::CreateBuffer. r=roc

This commit is contained in:
Benoit Jacob 2011-09-24 21:01:18 +02:00
parent c039ef0e76
commit 60e32d2ae0

View File

@ -2689,7 +2689,7 @@ public:
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;