Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-updates-src > by-pkgid > 2732c42c1bcb34f8656d2c1c975286c4 > files > 12

chromium-browser-stable-52.0.2743.82-1.mga5.src.rpm

--- chromium-51.0.2687.0/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp.const-error	2016-03-22 23:01:06.000000000 +0100
+++ chromium-51.0.2687.0/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp	2016-03-23 21:01:43.531928449 +0100
@@ -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((char *)profile, profileLength, imageHasAlpha, false /* useSRGB */);
             }
         }
 #endif // PNG_iCCP_SUPPORTED