RESOLVED FIXED 98607
Reduce calls to CGImageSourceCopyPropertiesAtIndex from frameSizeAtIndex
https://bugs.webkit.org/show_bug.cgi?id=98607
Summary Reduce calls to CGImageSourceCopyPropertiesAtIndex from frameSizeAtIndex
Pratik Solanki
Reported 2012-10-06 16:01:55 PDT
ImageSource::orientationAtIndex() always calls CGImageSourceCopyPropertiesAtIndex. However in cases where the call is made from frameSizeAtIndex() we already have image properties. We can refactor the code to avoid a second call to this function under frameSizeAtIndex()
Attachments
Patch (3.24 KB, patch)
2012-10-06 16:05 PDT, Pratik Solanki
mitz: review+
Pratik Solanki
Comment 1 2012-10-06 16:05:10 PDT
Pratik Solanki
Comment 2 2012-10-06 16:06:09 PDT
Pratik Solanki
Comment 3 2012-10-06 17:10:44 PDT
Note You need to log in before you can comment on or make changes to this bug.