[OS/2] Bug 505887: OS/2 breaks in widget after checkin for bug753, p=wuno@lsvw, r=pweilbacher

This commit is contained in:
Peter Weilbacher 2009-07-23 09:10:33 +03:00
parent e1f8c82efc
commit 8f16c1b7a2

View File

@ -1710,7 +1710,7 @@ NS_IMETHODIMP nsWindow::SetCursor(imgIContainer* aCursor,
return NS_OK;
}
nsRefPtr<gfxImageFrame> frame;
nsRefPtr<gfxImageSurface> frame;
aCursor->CopyCurrentFrame(getter_AddRefs(frame));
if (!frame)
return NS_ERROR_NOT_AVAILABLE;