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/TestADAM7InterpolatingFilter.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/TestADAM7InterpolatingFilter.cpp')
-rw-r--r-- | image/test/gtest/TestADAM7InterpolatingFilter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/image/test/gtest/TestADAM7InterpolatingFilter.cpp b/image/test/gtest/TestADAM7InterpolatingFilter.cpp index d9dab4346..d11224251 100644 --- a/image/test/gtest/TestADAM7InterpolatingFilter.cpp +++ b/image/test/gtest/TestADAM7InterpolatingFilter.cpp @@ -33,7 +33,7 @@ WithADAM7InterpolatingFilter(const IntSize& aSize, Func aFunc) WithFilterPipeline(decoder, Forward<Func>(aFunc), ADAM7InterpolatingConfig { }, - SurfaceConfig { decoder, 0, aSize, + SurfaceConfig { decoder, aSize, SurfaceFormat::B8G8R8A8, false }); } @@ -45,7 +45,7 @@ AssertConfiguringADAM7InterpolatingFilterFails(const IntSize& aSize) AssertConfiguringPipelineFails(decoder, ADAM7InterpolatingConfig { }, - SurfaceConfig { decoder, 0, aSize, + SurfaceConfig { decoder, aSize, SurfaceFormat::B8G8R8A8, false }); } @@ -664,7 +664,7 @@ TEST(ImageADAM7InterpolatingFilter, ConfiguringPalettedADAM7InterpolatingFilterF // should fail. AssertConfiguringPipelineFails(decoder, ADAM7InterpolatingConfig { }, - PalettedSurfaceConfig { decoder, 0, IntSize(100, 100), + PalettedSurfaceConfig { decoder, IntSize(100, 100), IntRect(0, 0, 50, 50), SurfaceFormat::B8G8R8A8, 8, false }); |