Bug 114817

Summary: Remove obsolete macros from libpng
Product: WebKit Reporter: Alberto Garcia <berto>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, mrobinson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Alberto Garcia 2013-04-18 09:04:41 PDT
PNGImageEncoder.cpp uses png_voidp_NULL and png_error_ptr_NULL, which no longer exist in libpng 1.4.

From the changelog:

 b. We removed the typecasted NULL definitions such as

          #define png_voidp_NULL    (png_voidp)NULL

    If you used these in your application, just use NULL instead.

http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt
Comment 1 Alberto Garcia 2013-04-18 09:07:14 PDT
Created attachment 198741 [details]
Patch
Comment 2 Alberto Garcia 2013-04-18 09:14:22 PDT
Created attachment 198742 [details]
Patch

There was a typo in the changelog message.
Comment 3 WebKit Commit Bot 2013-04-18 14:00:11 PDT
Comment on attachment 198742 [details]
Patch

Clearing flags on attachment: 198742

Committed r148701: <http://trac.webkit.org/changeset/148701>
Comment 4 WebKit Commit Bot 2013-04-18 14:00:13 PDT
All reviewed patches have been landed.  Closing bug.