summaryrefslogtreecommitdiffstats
path: root/image/test/gtest/TestSurfaceSink.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-21 12:57:17 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-12-04 20:02:14 +0100
commitc5d5a28f76524886f185ba50b230e8ce0d08eacb (patch)
treeaadacb3626783986111afec138fc86a7d10a8b38 /image/test/gtest/TestSurfaceSink.cpp
parenta0e20005efe7a794f9a824693e13f8874e087445 (diff)
downloadUXP-c5d5a28f76524886f185ba50b230e8ce0d08eacb.tar
UXP-c5d5a28f76524886f185ba50b230e8ce0d08eacb.tar.gz
UXP-c5d5a28f76524886f185ba50b230e8ce0d08eacb.tar.lz
UXP-c5d5a28f76524886f185ba50b230e8ce0d08eacb.tar.xz
UXP-c5d5a28f76524886f185ba50b230e8ce0d08eacb.zip
Bug 1462355 - Part 1b. Update Decoder and SurfacePipe plumbing to use updated imgFrame methods.
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 });
}