Reviewed by Tim Hatcher
authorsullivan@apple.com <sullivan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Nov 2007 18:51:21 +0000 (18:51 +0000)
committersullivan@apple.com <sullivan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Nov 2007 18:51:21 +0000 (18:51 +0000)
commit1933c76f38fefbbd96f969eba4c6525143dc076f
treede65e7948fe1ab098e03c2b3a5e56c9c5c6311d2
parent7ab04cac2ad5b427dc14c453150b02a1e23ac71c
    Reviewed by Tim Hatcher

        - speculative fix for <rdar://problem/5509989> CrashTracer: [USER] 1 crash in Safari at com.apple.WebKit:
        -[WebPDFView(FileInternal) _updatePreferencesSoon] + 56

        The crash is probably due to messaging a dealloc'ed dataSource ivar. The dataSource ivar isn't retained
        by this class, but should be. (It is retained by WebHTMLView, e.g.).

        * WebView/WebPDFView.mm:
        (-[WebPDFView dealloc]):
        release dataSource ivar
        (-[WebPDFView setDataSource:]):
        retain dataSource ivar

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/mac/ChangeLog
WebKit/mac/WebView/WebPDFView.mm