Ask CG to not parse image metadata
[WebKit-https.git] / Source / WebCore / platform / graphics / ImageSource.h
index dcc6755..7ce7e08 100644 (file)
@@ -126,6 +126,13 @@ public:
         GammaAndColorProfileIgnored
     };
 
+#if USE(CG)
+    enum ShouldSkipMetaData {
+        DoNotSkipMetaData,
+        SkipMetaData
+    };
+#endif
+
     ImageSource(AlphaOption alphaOption = AlphaPremultiplied, GammaAndColorProfileOption gammaAndColorProfileOption = GammaAndColorProfileApplied);
     ~ImageSource();