Bug 805792 - Avoid another extra copie when calling RenderTile. r=Cwiiis

--HG--
rename : layout/style/test/test_viewport_units.html => layout/style/test/test_rem_unit.html
extra : rebase_source : 3b18b7c42691b655264b615044e28cb448fde7a6
This commit is contained in:
Benoit Girard 2012-10-26 10:44:48 -04:00
parent f2fa20df59
commit 09de587ee4
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,