Title: [183296] trunk/Source/WebKit2
Revision
183296
Author
[email protected]
Date
2015-04-24 17:11:43 -0700 (Fri, 24 Apr 2015)

Log Message

REGRESSION (r183293): Fix iOS EWS build by adding SPI declaration for +[UIPeripheralHost visiblePeripheralFrame]

Fixes the following build failures:

    WebKit2/UIProcess/ios/WKPDFView.mm:740:45: error: class method '+visiblePeripheralFrame' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access]
        CGRect keyboardRect = [UIPeripheralHost visiblePeripheralFrame];
                                                ^~~~~~~~~~~~~~~~~~~~~~
    WebKit2/UIProcess/ios/WKPDFView.mm:740:12: error: no viable conversion from 'id' to 'CGRect'
        CGRect keyboardRect = [UIPeripheralHost visiblePeripheralFrame];
               ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Platform/spi/ios/UIKitSPI.h:
(+[UIPeripheralHost visiblePeripheralFrame]): Add declaration.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (183295 => 183296)


--- trunk/Source/WebKit2/ChangeLog	2015-04-25 00:11:07 UTC (rev 183295)
+++ trunk/Source/WebKit2/ChangeLog	2015-04-25 00:11:43 UTC (rev 183296)
@@ -1,3 +1,19 @@
+2015-04-24  David Kilzer  <[email protected]>
+
+        REGRESSION (r183293): Fix iOS EWS build by adding SPI declaration for +[UIPeripheralHost visiblePeripheralFrame]
+
+        Fixes the following build failures:
+
+            WebKit2/UIProcess/ios/WKPDFView.mm:740:45: error: class method '+visiblePeripheralFrame' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access]
+                CGRect keyboardRect = [UIPeripheralHost visiblePeripheralFrame];
+                                                        ^~~~~~~~~~~~~~~~~~~~~~
+            WebKit2/UIProcess/ios/WKPDFView.mm:740:12: error: no viable conversion from 'id' to 'CGRect'
+                CGRect keyboardRect = [UIPeripheralHost visiblePeripheralFrame];
+                       ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+        * Platform/spi/ios/UIKitSPI.h:
+        (+[UIPeripheralHost visiblePeripheralFrame]): Add declaration.
+
 2015-04-24  Anders Carlsson  <[email protected]>
 
         Change _WKWebsiteDataStore to hold on to an internal WKWebsiteDataStore

Modified: trunk/Source/WebKit2/Platform/spi/ios/UIKitSPI.h (183295 => 183296)


--- trunk/Source/WebKit2/Platform/spi/ios/UIKitSPI.h	2015-04-25 00:11:07 UTC (rev 183295)
+++ trunk/Source/WebKit2/Platform/spi/ios/UIKitSPI.h	2015-04-25 00:11:43 UTC (rev 183296)
@@ -195,6 +195,7 @@
 @interface UIPeripheralHost (Details)
 + (UIPeripheralHost *)sharedInstance;
 + (UIPeripheralHost *)activeInstance;
++ (CGRect)visiblePeripheralFrame;
 - (BOOL)isOnScreen;
 - (UIKeyboardRotationState *)rotationState;
 @end
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to