summaryrefslogtreecommitdiffstats
path: root/WebKit/mac/WebView/WebPDFView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/mac/WebView/WebPDFView.mm')
-rw-r--r--WebKit/mac/WebView/WebPDFView.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebKit/mac/WebView/WebPDFView.mm b/WebKit/mac/WebView/WebPDFView.mm
index a38412e..1be3033 100644
--- a/WebKit/mac/WebView/WebPDFView.mm
+++ b/WebKit/mac/WebView/WebPDFView.mm
@@ -182,6 +182,11 @@ static BOOL _PDFSelectionsAreEqual(PDFSelection *selectionA, PDFSelection *selec
_ignoreScaleAndDisplayModeAndPageNotifications = NO;
}
+- (PDFDocument *)PDFDocument
+{
+ return [PDFSubview document];
+}
+
#pragma mark NSObject OVERRIDES
- (void)dealloc