Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc

This commit is contained in:
Nicolas Silva
2015-03-29 16:59:08 +02:00
parent 5cc7a1afef
commit 13344864c0
43 changed files with 66 additions and 142 deletions

View File

@@ -623,7 +623,7 @@ nsBaseDragService::DrawDragForImage(nsPresContext* aPresContext,
if (aImageLoader) {
RefPtr<DrawTarget> dt =
gfxPlatform::GetPlatform()->
CreateOffscreenContentDrawTarget(destSize.ToIntSize(),
CreateOffscreenContentDrawTarget(destSize,
SurfaceFormat::B8G8R8A8);
if (!dt)
return NS_ERROR_FAILURE;