Skip to content
  • sullivan's avatar
    Reviewed by Dave Harrison · 858f93a1
    sullivan authored
            
            - fixed <rdar://problem/4769772> Problem with Find on certain PDF page
    
            * WebView/WebPDFView.mm:
            (-[WebPDFView _scaledAttributedString:]):
            We were hitting an exception trying to set the font attribute to nil, which was happening because
            the result of -[PDFSelection attributedString] had no attributes. That PDFSelection bug is now
            filed separately, but this works around the exception.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    858f93a1