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

Unified Diff: third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h

Issue 2454123002: Refactor image decoders to use 'colorSpace' instead of 'colorProfile' (Closed)
Patch Set: Fix legacy ImageFrame Created 4 years, 2 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
Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
index f8b392f31afd0ac803a3f02bc02333a4291b8acb..1f582f69d431a0b5c1a27394752ae83fe61e9457 100644
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
@@ -53,7 +53,7 @@ class PLATFORM_EXPORT DeferredImageDecoder final {
PassRefPtr<SharedBuffer> data,
bool dataComplete,
ImageDecoder::AlphaOption,
- ImageDecoder::GammaAndColorProfileOption);
+ ImageDecoder::ColorSpaceOption);
static std::unique_ptr<DeferredImageDecoder> createForTesting(
std::unique_ptr<ImageDecoder>);
@@ -68,7 +68,7 @@ class PLATFORM_EXPORT DeferredImageDecoder final {
void setData(PassRefPtr<SharedBuffer> data, bool allDataReceived);
bool isSizeAvailable();
- bool hasColorProfile() const;
+ bool hasColorSpace() const;
IntSize size() const;
IntSize frameSizeAtIndex(size_t index) const;
size_t frameCount();
@@ -105,7 +105,7 @@ class PLATFORM_EXPORT DeferredImageDecoder final {
String m_filenameExtension;
IntSize m_size;
int m_repetitionCount;
- bool m_hasColorProfile;
+ bool m_hasColorSpace;
bool m_canYUVDecode;
bool m_hasHotSpot;
IntPoint m_hotSpot;

Powered by Google App Engine
This is Rietveld 408576698