diff options
Diffstat (limited to 'WebKit/mac/WebView/WebPDFView.mm')
| -rw-r--r-- | WebKit/mac/WebView/WebPDFView.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebKit/mac/WebView/WebPDFView.mm b/WebKit/mac/WebView/WebPDFView.mm index a38412e..5e7b73c 100644 --- a/WebKit/mac/WebView/WebPDFView.mm +++ b/WebKit/mac/WebView/WebPDFView.mm @@ -182,12 +182,18 @@ static BOOL _PDFSelectionsAreEqual(PDFSelection *selectionA, PDFSelection *selec _ignoreScaleAndDisplayModeAndPageNotifications = NO; } +- (PDFDocument *)PDFDocument +{ + return [PDFSubview document]; +} + #pragma mark NSObject OVERRIDES - (void)dealloc { [dataSource release]; [previewView release]; + [PDFSubview setDelegate:nil]; [PDFSubview release]; [path release]; [PDFSubviewProxy release]; |
