diff --git a/gfx/layers/opengl/TiledThebesLayerOGL.cpp b/gfx/layers/opengl/TiledThebesLayerOGL.cpp index 30406565a875..ad2e0b059bac 100644 --- a/gfx/layers/opengl/TiledThebesLayerOGL.cpp +++ b/gfx/layers/opengl/TiledThebesLayerOGL.cpp @@ -197,7 +197,7 @@ TiledThebesLayerOGL::ProcessUploadQueue() } void -TiledThebesLayerOGL::RenderTile(TiledTexture aTile, +TiledThebesLayerOGL::RenderTile(const TiledTexture& aTile, const gfx3DMatrix& aTransform, const nsIntPoint& aOffset, const nsIntRegion& aScreenRegion, diff --git a/gfx/layers/opengl/TiledThebesLayerOGL.h b/gfx/layers/opengl/TiledThebesLayerOGL.h index 15324f6dc7f4..22fe41c03bde 100644 --- a/gfx/layers/opengl/TiledThebesLayerOGL.h +++ b/gfx/layers/opengl/TiledThebesLayerOGL.h @@ -131,7 +131,7 @@ public: void ProcessUploadQueue(); // Renders a single given tile. - void RenderTile(TiledTexture aTile, + void RenderTile(const TiledTexture& aTile, const gfx3DMatrix& aTransform, const nsIntPoint& aOffset, const nsIntRegion& aScreenRegion,