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

Unified Diff: Source/web/ImageDecodeBench.cpp

Issue 1247033008: Update straggling ImageSource references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 months 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
« no previous file with comments | « Source/platform/image-decoders/gif/GIFImageReader.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ImageDecodeBench.cpp
diff --git a/Source/web/ImageDecodeBench.cpp b/Source/web/ImageDecodeBench.cpp
index 088fceccc2b69c7be0971540eb465693726351dd..2f6f2b47c90d68347c208ef1f0e10f18f6444e69 100644
--- a/Source/web/ImageDecodeBench.cpp
+++ b/Source/web/ImageDecodeBench.cpp
@@ -273,8 +273,8 @@ PassRefPtr<SharedBuffer> readFile(const char* fileName)
bool decodeImageData(SharedBuffer* data, bool colorCorrection)
{
OwnPtr<ImageDecoder> decoder = ImageDecoder::create(*data,
- ImageSource::AlphaPremultiplied, colorCorrection ?
- ImageSource::GammaAndColorProfileApplied : ImageSource::GammaAndColorProfileIgnored);
+ ImageDecoder::AlphaPremultiplied, colorCorrection ?
+ ImageDecoder::GammaAndColorProfileApplied : ImageDecoder::GammaAndColorProfileIgnored);
bool allDataReceived = true;
decoder->setData(data, allDataReceived);
« no previous file with comments | « Source/platform/image-decoders/gif/GIFImageReader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698