Title: [198802] trunk/Source/WebKit2
Revision
198802
Author
[email protected]
Date
2016-03-29 14:49:42 -0700 (Tue, 29 Mar 2016)

Log Message

Unreviewed build fix after r198793.

* UIProcess/API/Cocoa/_WKAutomationSession.h:
* UIProcess/API/Cocoa/_WKAutomationSession.mm:
The wasEventSynthesizedForAutomation method should only be available on Mac.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (198801 => 198802)


--- trunk/Source/WebKit2/ChangeLog	2016-03-29 21:43:47 UTC (rev 198801)
+++ trunk/Source/WebKit2/ChangeLog	2016-03-29 21:49:42 UTC (rev 198802)
@@ -1,5 +1,13 @@
 2016-03-29  Brian Burg  <[email protected]>
 
+        Unreviewed build fix after r198793.
+
+        * UIProcess/API/Cocoa/_WKAutomationSession.h:
+        * UIProcess/API/Cocoa/_WKAutomationSession.mm:
+        The wasEventSynthesizedForAutomation method should only be available on Mac.
+
+2016-03-29  Brian Burg  <[email protected]>
+
         Unreviewed build fix after r198792.
 
         * UIProcess/Cocoa/WebAutomationSessionCocoa.mm:

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/_WKAutomationSession.h (198801 => 198802)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/_WKAutomationSession.h	2016-03-29 21:43:47 UTC (rev 198801)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/_WKAutomationSession.h	2016-03-29 21:49:42 UTC (rev 198802)
@@ -40,7 +40,9 @@
 @property (nonatomic, weak) id <_WKAutomationSessionDelegate> delegate;
 @property (nonatomic, readonly, getter=isPaired) BOOL paired;
 
+#if !TARGET_OS_IPHONE
 - (BOOL)wasEventSynthesizedForAutomation:(NSEvent *)event;
+#endif
 
 @end
 

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/_WKAutomationSession.mm (198801 => 198802)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/_WKAutomationSession.mm	2016-03-29 21:43:47 UTC (rev 198801)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/_WKAutomationSession.mm	2016-03-29 21:49:42 UTC (rev 198802)
@@ -83,10 +83,12 @@
     return _session->isPaired();
 }
 
+#if PLATFORM(MAC)
 - (BOOL)wasEventSynthesizedForAutomation:(NSEvent *)event
 {
     return _session->wasEventSynthesizedForAutomation(event);
 }
+#endif
 
 #pragma mark WKObject protocol implementation
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to