Fix style error in last commit.
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Sep 2015 22:11:15 +0000 (22:11 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Sep 2015 22:11:15 +0000 (22:11 +0000)
* swipe/resources/swipe-test.js:
(eventQueue.callAfterEventDispatch):

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

LayoutTests/ChangeLog
LayoutTests/swipe/resources/swipe-test.js

index 04da590..fe31765 100644 (file)
@@ -1,5 +1,12 @@
 2015-09-04  Tim Horton  <timothy_horton@apple.com>
 
+        Fix style error in last commit.
+
+        * swipe/resources/swipe-test.js:
+        (eventQueue.callAfterEventDispatch):
+
+2015-09-04  Tim Horton  <timothy_horton@apple.com>
+
         Add a test for r179736 (programmatic navigation during swipe causing a crash)
         https://bugs.webkit.org/show_bug.cgi?id=148830
 
index 0838671..dd8e900 100644 (file)
@@ -21,11 +21,11 @@ var eventQueue = {
 
     callAfterEventDispatch: function (callback) {
         var interval = setInterval(function () { 
-        if (!eventQueue.hasPendingEvents()) {
-            clearInterval(interval);
-            callback();
-        }
-    }, 0);
+            if (!eventQueue.hasPendingEvents()) {
+                clearInterval(interval);
+                callback();
+            }
+        }, 0);
     },
 
     _queue: [],