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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ImageFrame.h

Issue 2523943002: Explicitly specify target color space to ImageDecoder at creation (Closed)
Patch Set: Rebase 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/image-decoders/ImageFrame.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h b/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
index 574b66df089049e866ddfaf8c9bc811a30e10619..815410081212ac05ea6a1af010077c46cee9cea8 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
@@ -276,10 +276,6 @@ class PLATFORM_EXPORT ImageFrame final {
// True if the pixels changed, but the bitmap has not yet been notified.
bool m_pixelsChanged;
- // The color space of the image. This will never be null. If a color profile
- // was not embedded in the image, this will be set to sRGB.
- sk_sp<SkColorSpace> m_colorSpace;
-
// The frame that must be decoded before this frame can be decoded.
// WTF::kNotFound if this frame doesn't require any previous frame.
// This is used by ImageDecoder::clearCacheExceptFrame(), and will never

Powered by Google App Engine
This is Rietveld 408576698