Title: [189304] trunk/Tools
Revision
189304
Author
[email protected]
Date
2015-09-03 15:52:43 -0700 (Thu, 03 Sep 2015)

Log Message

Swipe tests fail on Mavericks
https://bugs.webkit.org/show_bug.cgi?id=148752

Reviewed by Beth Dakin.

* WebKitTestRunner/mac/EventSenderProxy.mm:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (189303 => 189304)


--- trunk/Tools/ChangeLog	2015-09-03 22:45:03 UTC (rev 189303)
+++ trunk/Tools/ChangeLog	2015-09-03 22:52:43 UTC (rev 189304)
@@ -1,5 +1,14 @@
 2015-09-03  Tim Horton  <[email protected]>
 
+        Swipe tests fail on Mavericks
+        https://bugs.webkit.org/show_bug.cgi?id=148752
+
+        Reviewed by Beth Dakin.
+
+        * WebKitTestRunner/mac/EventSenderProxy.mm:
+
+2015-09-03  Tim Horton  <[email protected]>
+
         Fix the 32-bit build
 
         * WebKitTestRunner/mac/PlatformWebViewMac.mm:

Modified: trunk/Tools/WebKitTestRunner/mac/EventSenderProxy.mm (189303 => 189304)


--- trunk/Tools/WebKitTestRunner/mac/EventSenderProxy.mm	2015-09-03 22:45:03 UTC (rev 189303)
+++ trunk/Tools/WebKitTestRunner/mac/EventSenderProxy.mm	2015-09-03 22:52:43 UTC (rev 189304)
@@ -41,6 +41,7 @@
 @end
 
 #if defined(__LP64__)
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
 struct WKTRCGSEventRecord {
     char offset1[150];
     uint8_t phase;
@@ -49,7 +50,17 @@
     float deltaY;
     char offset3[76];
 } __attribute__((packed));
+#else
+struct WKTRCGSEventRecord {
+    char offset1[154];
+    uint8_t phase;
+    char offset2[5];
+    float deltaX;
+    float deltaY;
+    char offset3[80];
+} __attribute__((packed));
 #endif
+#endif
 
 @interface EventSenderSyntheticEvent : NSEvent {
 @public
@@ -106,7 +117,7 @@
     return _eventSender_type;
 }
 
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 10100
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
 - (NSEventSubtype)subtype
 {
     return (NSEventSubtype)_eventSender_subtype;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to