Fixed: <rdar://problem/3937663> repro assertion failure and crash dragging image...
authorcblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Jan 2005 19:41:52 +0000 (19:41 +0000)
committercblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Jan 2005 19:41:52 +0000 (19:41 +0000)
commit9963394100f7ac86ee7dba95659ed884e9ab02e4
tree6bd559663422715efc3943988e16b563956cadd3
parentb681f9377b3487c1612c88ca5aa60c6c3fa9f86e
Fixed: <rdar://problem/3937663> repro assertion failure and crash dragging image that has PDF source

        Reviewed by adele.

        * Misc.subproj/WebNSViewExtras.m:
        (-[NSView _web_dragImage:rect:event:pasteboard:source:offset:]): if [WebImageRenderer image] returns nil, fallback to code that uses a file icon as the drag image
        * WebCoreSupport.subproj/WebImageRendererFactory.m:
        (-[WebImageRendererFactory supportedMIMETypes]): removed code that omits PDF and PostScript from the list since this omission is only needed in WebImageView
        * WebView.subproj/WebImageView.m:
        (+[WebImageView supportedImageMIMETypes]): added code that omits PDF and PostScript since we don't want WebImageView to render these types

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/Misc.subproj/WebNSViewExtras.m
WebKit/WebCoreSupport.subproj/WebImageRendererFactory.m
WebKit/WebView.subproj/WebImageView.m