Commit 5a675c9c authored by Seth Fowler's avatar Seth Fowler
Browse files

Bug 1251806 - In RasterImage::GetFrameInternal(), check if the frame covers...

Bug 1251806 - In RasterImage::GetFrameInternal(), check if the frame covers the actual surface size rather than the requested surface size. r=tn
parent 6451b96c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -599,7 +599,7 @@ RasterImage::GetFrameInternal(const IntSize& aSize,
  // surface.
  RefPtr<SourceSurface> frameSurf;
  if (!frameRef->NeedsPadding() &&
      frameRef->GetSize() == aSize) {
      frameRef->GetSize() == frameRef->GetImageSize()) {
    frameSurf = frameRef->GetSurface();
  }