Bug 564991. Part 8: Hoist GetLayerType out of individual layer manager types and make it available for all layers. r=jrmuizel,sr=vlad

This commit is contained in:
Matt Woodrow
2010-07-01 20:01:09 -05:00
parent 5c97e52a5d
commit a349797ef9
24 changed files with 33 additions and 102 deletions

View File

@@ -129,12 +129,6 @@ ThebesLayerOGL::InvalidateRegion(const nsIntRegion &aRegion)
mValidRegion.Sub(mValidRegion, aRegion);
}
LayerOGL::LayerType
ThebesLayerOGL::GetType()
{
return TYPE_THEBES;
}
void
ThebesLayerOGL::RenderLayer(int aPreviousFrameBuffer,
const nsIntPoint& aOffset)