diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-11-21 12:57:17 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-21 12:57:17 +0100 |
commit | 622098073e132995994fac4d61e3629d08ee1801 (patch) | |
tree | a348124917c22add706fec705f3a185c1f4af567 /image/test/gtest/TestDownscalingFilter.cpp | |
parent | 807acf738f63d95fbecfb9129092aaa2379889ba (diff) | |
download | UXP-622098073e132995994fac4d61e3629d08ee1801.tar UXP-622098073e132995994fac4d61e3629d08ee1801.tar.gz UXP-622098073e132995994fac4d61e3629d08ee1801.tar.lz UXP-622098073e132995994fac4d61e3629d08ee1801.tar.xz UXP-622098073e132995994fac4d61e3629d08ee1801.zip |
Bug 1462355 - Part 1b. Update Decoder and SurfacePipe plumbing to use updated imgFrame methods.
Diffstat (limited to 'image/test/gtest/TestDownscalingFilter.cpp')
-rw-r--r-- | image/test/gtest/TestDownscalingFilter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/image/test/gtest/TestDownscalingFilter.cpp b/image/test/gtest/TestDownscalingFilter.cpp index 596becab0..d7aa0ead2 100644 --- a/image/test/gtest/TestDownscalingFilter.cpp +++ b/image/test/gtest/TestDownscalingFilter.cpp @@ -29,7 +29,7 @@ WithDownscalingFilter(const IntSize& aInputSize, WithFilterPipeline(decoder, Forward<Func>(aFunc), DownscalingConfig { aInputSize, SurfaceFormat::B8G8R8A8 }, - SurfaceConfig { decoder, 0, aOutputSize, + SurfaceConfig { decoder, aOutputSize, SurfaceFormat::B8G8R8A8, false }); } @@ -43,7 +43,7 @@ AssertConfiguringDownscalingFilterFails(const IntSize& aInputSize, AssertConfiguringPipelineFails(decoder, DownscalingConfig { aInputSize, SurfaceFormat::B8G8R8A8 }, - SurfaceConfig { decoder, 0, aOutputSize, + SurfaceConfig { decoder, aOutputSize, SurfaceFormat::B8G8R8A8, false }); } @@ -224,7 +224,7 @@ TEST(ImageDownscalingFilter, ConfiguringPalettedDownscaleFails) AssertConfiguringPipelineFails(decoder, DownscalingConfig { IntSize(100, 100), SurfaceFormat::B8G8R8A8 }, - PalettedSurfaceConfig { decoder, 0, IntSize(20, 20), + PalettedSurfaceConfig { decoder, IntSize(20, 20), IntRect(0, 0, 20, 20), SurfaceFormat::B8G8R8A8, 8, false }); |