Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1072)

Unified Diff: third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp

Issue 2556723003: Merge color options into ColorBehavior (Closed)
Patch Set: Feedback Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
index 75d48efb4b6bfc262f858f86c699ba48ad42c115..1d3c05f6cf073a8bc99e7987a7e14b7a142bef31 100644
--- a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
@@ -15,10 +15,10 @@ namespace blink {
namespace {
std::unique_ptr<ImageDecoder> createDecoder() {
- return wrapUnique(new BMPImageDecoder(
- ImageDecoder::AlphaNotPremultiplied, ImageDecoder::ColorSpaceTransformed,
- ImageDecoder::targetColorSpaceForTesting(),
- ImageDecoder::noDecodedImageByteLimit));
+ return wrapUnique(
+ new BMPImageDecoder(ImageDecoder::AlphaNotPremultiplied,
+ ColorBehavior::transformToTargetForTesting(),
+ ImageDecoder::noDecodedImageByteLimit));
}
} // anonymous namespace

Powered by Google App Engine
This is Rietveld 408576698