Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical

This commit is contained in:
Amanda Sambath
2015-06-03 13:45:24 +02:00
parent c8acebdbeb
commit f89f621f37
15 changed files with 26 additions and 24 deletions

View File

@@ -118,7 +118,7 @@ ReadbackProcessor::BuildUpdatesForLayer(ReadbackLayer* aLayer)
aLayer->AllocateSequenceNumber());
if (ctx) {
ColorPattern color(ToDeviceColor(aLayer->mBackgroundColor));
nsIntSize size = aLayer->GetSize();
IntSize size = aLayer->GetSize();
ctx->GetDrawTarget()->FillRect(Rect(0, 0, size.width, size.height),
color);
aLayer->mSink->EndUpdate(ctx, aLayer->GetRect());