diff options
Diffstat (limited to 'community/chromium/fix-png-decoder-build.patch')
-rw-r--r-- | community/chromium/fix-png-decoder-build.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/chromium/fix-png-decoder-build.patch b/community/chromium/fix-png-decoder-build.patch new file mode 100644 index 0000000000..bc031cea03 --- /dev/null +++ b/community/chromium/fix-png-decoder-build.patch @@ -0,0 +1,11 @@ +--- a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp.orig 2016-06-01 17:42:30.396115414 +0200 ++++ b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp 2016-06-01 17:43:05.182117208 +0200 +@@ -234,7 +234,7 @@ + #endif + png_uint_32 profileLength = 0; + if (png_get_iCCP(png, info, &profileName, &compressionType, &profile, &profileLength)) { +- setColorProfileAndTransform(profile, profileLength, imageHasAlpha, false /* useSRGB */); ++ setColorProfileAndTransform((const char*) profile, profileLength, imageHasAlpha, false /* useSRGB */); + } + } + #endif // PNG_iCCP_SUPPORTED |