Move instance members from WebPDFView to implementation file
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Feb 2017 07:24:22 +0000 (07:24 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Feb 2017 07:24:22 +0000 (07:24 +0000)
https://bugs.webkit.org/show_bug.cgi?id=168765

Reviewed by Tim Horton.

* WebView/WebPDFViewIOS.h: Moving instance members to implementation file.
* WebView/WebPDFViewIOS.mm: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212880 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ios/ChangeLog
Source/WebKit/ios/WebView/WebPDFViewIOS.h
Source/WebKit/ios/WebView/WebPDFViewIOS.mm

index 58c6601..539e9b5 100644 (file)
@@ -1,5 +1,15 @@
 2017-02-22  Aakash Jain  <aakash_jain@apple.com>
 
+        Move instance members from WebPDFView to implementation file
+        https://bugs.webkit.org/show_bug.cgi?id=168765
+
+        Reviewed by Tim Horton.
+
+        * WebView/WebPDFViewIOS.h: Moving instance members to implementation file.
+        * WebView/WebPDFViewIOS.mm: Ditto.
+
+2017-02-22  Aakash Jain  <aakash_jain@apple.com>
+
         Export m_isLoggingEnabled symbol from MemoryMeasure.h
         https://bugs.webkit.org/show_bug.cgi?id=168760
 
index 602fcd0..a76d492 100644 (file)
 
 #import <WebKitLegacy/WebDocumentPrivate.h>
 
-@interface WebPDFView : WAKView <WebPDFDocumentView, WebPDFDocumentRepresentation> {
-    BOOL dataSourceHasBeenSet;
-    CGPDFDocumentRef _PDFDocument;
-    NSString *_title;
-    CGRect *_pageRects;
-}
+@interface WebPDFView : WAKView <WebPDFDocumentView, WebPDFDocumentRepresentation>
 
 - (unsigned)pageNumberForRect:(CGRect)rect;
 - (unsigned)totalPages;
index 4f86f83..0becacd 100644 (file)
@@ -67,7 +67,12 @@ static CGColorRef createCGColorWithDeviceWhite(CGFloat white, CGFloat alpha)
     return CGColorCreate(graySpace, components);
 }
 
-@implementation WebPDFView
+@implementation WebPDFView {
+    BOOL dataSourceHasBeenSet;
+    CGPDFDocumentRef _PDFDocument;
+    NSString *_title;
+    CGRect *_pageRects;
+}
 
 + (NSArray *)supportedMIMETypes
 {