summaryrefslogtreecommitdiffstats
path: root/extra/chromium/libpng-1.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/chromium/libpng-1.4.patch')
-rw-r--r--extra/chromium/libpng-1.4.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/chromium/libpng-1.4.patch b/extra/chromium/libpng-1.4.patch
new file mode 100644
index 000000000..e0e989539
--- /dev/null
+++ b/extra/chromium/libpng-1.4.patch
@@ -0,0 +1,15 @@
+--- src/third_party/WebKit/WebCore/platform/image-encoders/skia/orig/PNGImageEncoder.cpp 2009-11-19 13:39:07.000000000 -0800
++++ src/third_party/WebKit/WebCore/platform/image-encoders/skia/PNGImageEncoder.cpp 2009-11-19 13:39:25.000000000 -0800
+@@ -130,9 +130,9 @@
+ }
+
+ png_struct* pngPtr = png_create_write_struct(PNG_LIBPNG_VER_STRING,
+- png_voidp_NULL,
+- png_error_ptr_NULL,
+- png_error_ptr_NULL);
++ NULL,
++ NULL,
++ NULL);
+ if (!pngPtr)
+ return false;
+