Title: [215751] trunk/Source/WebCore
Revision
215751
Author
wenson_hs...@apple.com
Date
2017-04-25 12:37:16 -0700 (Tue, 25 Apr 2017)

Log Message

Remove an unnecessary -respondsToSelector: check after r215724

Rubber-stamped by Tim Horton.

Addresses review feedback from <https://bugs.webkit.org/show_bug.cgi?id=171156>. -[NSURL _title]
will always for builds that need to access it.

* platform/ios/PlatformPasteboardIOS.mm:
(WebCore::PlatformPasteboard::readURL):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (215750 => 215751)


--- trunk/Source/WebCore/ChangeLog	2017-04-25 19:20:17 UTC (rev 215750)
+++ trunk/Source/WebCore/ChangeLog	2017-04-25 19:37:16 UTC (rev 215751)
@@ -1,3 +1,15 @@
+2017-04-25  Wenson Hsieh  <wenson_hs...@apple.com>
+
+        Remove an unnecessary -respondsToSelector: check after r215724
+
+        Rubber-stamped by Tim Horton.
+
+        Addresses review feedback from <https://bugs.webkit.org/show_bug.cgi?id=171156>. -[NSURL _title]
+        will always for builds that need to access it.
+
+        * platform/ios/PlatformPasteboardIOS.mm:
+        (WebCore::PlatformPasteboard::readURL):
+
 2017-04-25  Antti Koivisto  <an...@apple.com>
 
         REGRESSION (r215469): [ios-simulator-wk2] LayoutTest compositing/animation/animation-backing.html is a flaky failure

Modified: trunk/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm (215750 => 215751)


--- trunk/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm	2017-04-25 19:20:17 UTC (rev 215750)
+++ trunk/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm	2017-04-25 19:37:16 UTC (rev 215751)
@@ -404,8 +404,7 @@
         return URL();
 
 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
-    if ([value respondsToSelector:@selector(_title)])
-        title = [value _title];
+    title = [value _title];
 #else
     UNUSED_PARAM(title);
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to