summaryrefslogtreecommitdiffstats
path: root/image/test/gtest/TestSurfaceSink.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-21 16:28:53 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-21 16:28:53 +0100
commita3da925495ab64a3baa69aac4ae35d848a865616 (patch)
treeb91d7275cb8d80b7465425e614c823c06dfca100 /image/test/gtest/TestSurfaceSink.cpp
parent6a9c2be4eac174c1b44ffb0ff16fd32fca92aa18 (diff)
parent25f4c75d68629a26cbb5433975027cd691a18dd7 (diff)
downloadUXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar
UXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar.gz
UXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar.lz
UXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar.xz
UXP-a3da925495ab64a3baa69aac4ae35d848a865616.zip
Merge branch 'webp-update'
Diffstat (limited to 'image/test/gtest/TestSurfaceSink.cpp')
-rw-r--r--image/test/gtest/TestSurfaceSink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/test/gtest/TestSurfaceSink.cpp b/image/test/gtest/TestSurfaceSink.cpp
index ccf9be3ec..3a1c74d12 100644
--- a/image/test/gtest/TestSurfaceSink.cpp
+++ b/image/test/gtest/TestSurfaceSink.cpp
@@ -32,7 +32,7 @@ WithSurfaceSink(Func aFunc)
const bool flipVertically = Orientation == Orient::FLIP_VERTICALLY;
WithFilterPipeline(decoder, Forward<Func>(aFunc),
- SurfaceConfig { decoder, 0, IntSize(100, 100),
+ SurfaceConfig { decoder, IntSize(100, 100),
SurfaceFormat::B8G8R8A8, flipVertically });
}
@@ -43,7 +43,7 @@ WithPalettedSurfaceSink(const IntRect& aFrameRect, Func aFunc)
ASSERT_TRUE(decoder != nullptr);
WithFilterPipeline(decoder, Forward<Func>(aFunc),
- PalettedSurfaceConfig { decoder, 0, IntSize(100, 100),
+ PalettedSurfaceConfig { decoder, IntSize(100, 100),
aFrameRect, SurfaceFormat::B8G8R8A8,
8, false });
}