--- 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