Title: [239411] trunk/Source/WebKit
Revision
239411
Author
[email protected]
Date
2018-12-19 17:09:57 -0800 (Wed, 19 Dec 2018)

Log Message

Use delegate instead of drawingDelegate in WKDrawingView
https://bugs.webkit.org/show_bug.cgi?id=192899
<rdar://problem/46733339>

Reviewed by Wenson Hsieh.

* UIProcess/ios/WKDrawingView.mm:
(-[WKDrawingView initWithEmbeddedViewID:webPageProxy:]):
Do the dance.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (239410 => 239411)


--- trunk/Source/WebKit/ChangeLog	2018-12-20 00:59:13 UTC (rev 239410)
+++ trunk/Source/WebKit/ChangeLog	2018-12-20 01:09:57 UTC (rev 239411)
@@ -1,3 +1,15 @@
+2018-12-19  Tim Horton  <[email protected]>
+
+        Use delegate instead of drawingDelegate in WKDrawingView
+        https://bugs.webkit.org/show_bug.cgi?id=192899
+        <rdar://problem/46733339>
+
+        Reviewed by Wenson Hsieh.
+
+        * UIProcess/ios/WKDrawingView.mm:
+        (-[WKDrawingView initWithEmbeddedViewID:webPageProxy:]):
+        Do the dance.
+
 2018-12-19  Alex Christensen  <[email protected]>
 
         Navigations away from the SafeBrowsing interstitial show a flash of old content

Modified: trunk/Source/WebKit/UIProcess/ios/WKDrawingView.mm (239410 => 239411)


--- trunk/Source/WebKit/UIProcess/ios/WKDrawingView.mm	2018-12-20 00:59:13 UTC (rev 239410)
+++ trunk/Source/WebKit/UIProcess/ios/WKDrawingView.mm	2018-12-20 01:09:57 UTC (rev 239411)
@@ -60,11 +60,8 @@
     [_pencilView setFingerDrawingEnabled:NO];
     [_pencilView setUserInteractionEnabled:YES];
     [_pencilView setOpaque:NO];
+    [_pencilView setDelegate:self];
 
-    ALLOW_DEPRECATED_DECLARATIONS_BEGIN
-    [_pencilView setDrawingDelegate:self];
-    ALLOW_DEPRECATED_DECLARATIONS_END
-
     [self addSubview:_pencilView.get()];
 
     return self;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to