Fixed <rdar://problem/4042570> Need to check image properties for presence of width...
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Mar 2005 00:00:52 +0000 (00:00 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Mar 2005 00:00:52 +0000 (00:00 +0000)
commita31dedc12cf2e868e6611cc6674e031103a60ac7
tree7892b3ca4c6b8a20fb1f1d6eaddf8cb6c14f92a8
parente0e23575f22fe368c16e29e1c3085a0eb3b7a914
Fixed <rdar://problem/4042570> Need to check image properties for presence of width/height properties

ImageIO-55 changed how image properties are created.  They
are now created incrementally.  So we need "re-get" the image
properties if the properties we care about (width/height) aren't
in the property dictionary.

        Reviewed by John.

        * WebCoreSupport.subproj/WebImageData.h:
        * WebCoreSupport.subproj/WebImageData.m:
        (-[WebImageData init]):
        (-[WebImageData fileProperties]):
        (-[WebImageData propertiesAtIndex:]):
        (-[WebImageData _isSizeAvailable]):
        (-[WebImageData incrementalLoadWithBytes:length:complete:callback:]):
        (-[WebImageData size]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebCoreSupport.subproj/WebImageData.h
WebKit/WebCoreSupport.subproj/WebImageData.m