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

Unified Diff: Source/platform/image-decoders/ico/ICOImageDecoder.h

Issue 733063005: Don't decode AND mask for an icon that already has alpha information (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/platform/image-decoders/ico/ICOImageDecoder.h
diff --git a/Source/platform/image-decoders/ico/ICOImageDecoder.h b/Source/platform/image-decoders/ico/ICOImageDecoder.h
index 08f81cb0fd74c0eed0a599c02fd889d984bee7df..7deae94d87d7041f2c9e823de9d3a3128e7030e4 100644
--- a/Source/platform/image-decoders/ico/ICOImageDecoder.h
+++ b/Source/platform/image-decoders/ico/ICOImageDecoder.h
@@ -74,6 +74,7 @@ private:
IntSize m_size;
uint16_t m_bitCount;
IntPoint m_hotSpot;
+ uint32_t m_imageSize;
uint32_t m_imageOffset;
};

Powered by Google App Engine
This is Rietveld 408576698