https://bugs.webkit.org/show_bug.cgi?id=148752
Reviewed by Beth Dakin.
* WebKitTestRunner/mac/EventSenderProxy.mm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189304
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2015-09-03 Tim Horton <timothy_horton@apple.com>
+ 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 <timothy_horton@apple.com>
+
Fix the 32-bit build
* WebKitTestRunner/mac/PlatformWebViewMac.mm:
@end
#if defined(__LP64__)
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
struct WKTRCGSEventRecord {
char offset1[150];
uint8_t phase;
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 {
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;