Fix the build after r212254
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2017 01:18:59 +0000 (01:18 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2017 01:18:59 +0000 (01:18 +0000)
* TestWebKitAPI/ios/DataInteractionSimulator.mm:
(-[DataInteractionSimulator _currentLocation]):

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

Tools/ChangeLog
Tools/TestWebKitAPI/ios/DataInteractionSimulator.mm

index 591b6b4..bea647f 100644 (file)
@@ -1,5 +1,12 @@
 2017-02-13  Wenson Hsieh  <wenson_hsieh@apple.com>
 
+        Fix the build after r212254
+
+        * TestWebKitAPI/ios/DataInteractionSimulator.mm:
+        (-[DataInteractionSimulator _currentLocation]):
+
+2017-02-13  Wenson Hsieh  <wenson_hsieh@apple.com>
+
         [WK2] Add test infrastructure and unit tests for data interaction
         https://bugs.webkit.org/show_bug.cgi?id=168159
         <rdar://problem/30477634>
index 57bf83f..5dc30ba 100644 (file)
@@ -161,7 +161,7 @@ static double progressTimeStep = 0.03;
 {
     CGFloat distanceX = _endLocation.x - _startLocation.x;
     CGFloat distanceY = _endLocation.y - _startLocation.y;
-    return { _startLocation.x + _gestureProgress * distanceX, _startLocation.y + _gestureProgress * distanceY };
+    return CGPointMake(_startLocation.x + _gestureProgress * distanceX, _startLocation.y + _gestureProgress * distanceY);
 }
 
 - (void)_scheduleAdvanceProgress