Build fix after r159805.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Nov 2013 16:12:34 +0000 (16:12 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Nov 2013 16:12:34 +0000 (16:12 +0000)
* resources/runner.js:

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

PerformanceTests/ChangeLog
PerformanceTests/resources/runner.js

index 91cc219..c975129 100644 (file)
@@ -1,3 +1,9 @@
+2013-11-27  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Build fix after r159805.
+
+        * resources/runner.js:
+
 2013-11-26  Sergio Villar Senin  <svillar@igalia.com>
 
         [CSS Grid Layout] Support grid-definition-{rows|columns} repeat() syntax
index db674b0..cf89331 100755 (executable)
@@ -226,11 +226,10 @@ if (window.testRunner) {
                 PerfTestRunner.logStatistics(jsHeapResults, "bytes", prefix + ":JSHeap");
                 PerfTestRunner.logStatistics(mallocHeapResults, "bytes", prefix + ":Malloc");
             }
-            if (currentTest.done)
-                currentTest.done();
-
             if (logLines && !currentTest.continueTesting)
                 logLines.forEach(logInDocument);
+            if (currentTest.done)
+                currentTest.done();
         } catch (exception) {
             logInDocument("Got an exception while finalizing the test with name=" + exception.name + ", message=" + exception.message);
         }