32-bit build fix.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jun 2014 21:08:34 +0000 (21:08 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jun 2014 21:08:34 +0000 (21:08 +0000)
* WebKitTestRunner/mac/EventSenderProxy.mm:
(WTR::EventSenderProxy::mouseMoveTo):
(WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@169662 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/WebKitTestRunner/mac/EventSenderProxy.mm

index ef1aacd..1f9fb04 100644 (file)
@@ -1,5 +1,13 @@
 2014-06-06  Simon Fraser  <simon.fraser@apple.com>
 
+        32-bit build fix.
+
+        * WebKitTestRunner/mac/EventSenderProxy.mm:
+        (WTR::EventSenderProxy::mouseMoveTo):
+        (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
+
+2014-06-06  Simon Fraser  <simon.fraser@apple.com>
+
         Fix builds on 10.8; -firstObject isn't declared on NSArray there.
 
         * DumpRenderTree/mac/DumpRenderTree.mm:
index 7f8e759..d6b9b57 100644 (file)
@@ -221,7 +221,7 @@ void EventSenderProxy::mouseMoveTo(double x, double y)
         [targetView mouseMoved:event];
         [NSApp _setCurrentEvent:nil];
     } else {
-        CGPoint windowLocation = [event locationInWindow];
+        NSPoint windowLocation = [event locationInWindow];
         WTFLogAlways("mouseMoveTo failed to find a target view at %f,%f\n", windowLocation.x, windowLocation.y);
     }
 }
@@ -495,7 +495,7 @@ void EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases(int x, int y, int
         [targetView scrollWheel:event];
         [NSApp _setCurrentEvent:nil];
     } else {
-        CGPoint windowLocation = [event locationInWindow];
+        NSPoint windowLocation = [event locationInWindow];
         WTFLogAlways("mouseScrollByWithWheelAndMomentumPhases failed to find the target view at %f,%f\n", windowLocation.x, windowLocation.y);
     }
 }