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

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

Issue 2462803002: Plumb color space to DecodingImageGenerator and ImageFrameGenerator (Closed)
Patch Set: Incorporate review feedback Created 4 years, 1 month 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 1f582f69d431a0b5c1a27394752ae83fe61e9457..5f5649fee72c6726889fd91616bb768658e6d49d 100644
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
@@ -68,7 +68,7 @@ class PLATFORM_EXPORT DeferredImageDecoder final {
void setData(PassRefPtr<SharedBuffer> data, bool allDataReceived);
bool isSizeAvailable();
- bool hasColorSpace() const;
+ bool hasEmbeddedColorSpace() 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_hasColorSpace;
+ bool m_hasEmbeddedColorSpace = false;
bool m_canYUVDecode;
bool m_hasHotSpot;
IntPoint m_hotSpot;

Powered by Google App Engine
This is Rietveld 408576698