Title: [254655] trunk/Source/WebKitLegacy/ios
Revision
254655
Author
timothy_hor...@apple.com
Date
2020-01-15 16:56:23 -0800 (Wed, 15 Jan 2020)

Log Message

WebKit should not expose a unprefixed CGRectValue category method on NSValue
https://bugs.webkit.org/show_bug.cgi?id=206297
<rdar://problem/58592554>

Reviewed by Wenson Hsieh.

* WebView/WebPDFViewPlaceholder.mm:
(-[NSValue CGRectValue]): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/ios/ChangeLog (254654 => 254655)


--- trunk/Source/WebKitLegacy/ios/ChangeLog	2020-01-16 00:35:55 UTC (rev 254654)
+++ trunk/Source/WebKitLegacy/ios/ChangeLog	2020-01-16 00:56:23 UTC (rev 254655)
@@ -1,3 +1,14 @@
+2020-01-15  Tim Horton  <timothy_hor...@apple.com>
+
+        WebKit should not expose a unprefixed CGRectValue category method on NSValue
+        https://bugs.webkit.org/show_bug.cgi?id=206297
+        <rdar://problem/58592554>
+
+        Reviewed by Wenson Hsieh.
+
+        * WebView/WebPDFViewPlaceholder.mm:
+        (-[NSValue CGRectValue]): Deleted.
+
 2020-01-03  Chris Dumez  <cdu...@apple.com>
 
         Add support for DragEvent

Modified: trunk/Source/WebKitLegacy/ios/WebView/WebPDFViewPlaceholder.mm (254654 => 254655)


--- trunk/Source/WebKitLegacy/ios/WebView/WebPDFViewPlaceholder.mm	2020-01-16 00:35:55 UTC (rev 254654)
+++ trunk/Source/WebKitLegacy/ios/WebView/WebPDFViewPlaceholder.mm	2020-01-16 00:56:23 UTC (rev 254655)
@@ -71,7 +71,7 @@
     return [NSValue valueWithBytes:&rect objCType:@encode(CGRect)];
 }
 
-- (CGRect)CGRectValue
+- (CGRect)_web_CGRectValue
 {
     CGRect result;
     [self getValue:&result];
@@ -458,7 +458,7 @@
     if ((!pageNumber) || (pageNumber > [_pageRects count]))
         return CGRectNull;
 
-    return [[_pageRects objectAtIndex:pageNumber - 1] CGRectValue];
+    return [[_pageRects objectAtIndex:pageNumber - 1] _web_CGRectValue];
 }
 
 - (void)simulateClickOnLinkToURL:(NSURL *)URL
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to