1 diff -Naur mozilla-old/modules/libpr0n/encoders/png/nsPNGEncoder.cpp mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.cpp
2 --- mozilla-old/modules/libpr0n/encoders/png/nsPNGEncoder.cpp 2006-05-21 03:20:49.000000000 +1000
3 +++ mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.cpp 2010-01-26 15:43:45.000000000 +1000
7 png_struct* png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING,
10 - png_error_ptr_NULL);
15 return NS_ERROR_OUT_OF_MEMORY;
16 png_info* info_ptr = png_create_info_struct(png_ptr);