diff options
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/scrolling/resources/scrollable-area.js')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/scrolling/resources/scrollable-area.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/scrolling/resources/scrollable-area.js b/third_party/WebKit/LayoutTests/fast/scrolling/resources/scrollable-area.js index 5f41f88..43319c5 100644 --- a/third_party/WebKit/LayoutTests/fast/scrolling/resources/scrollable-area.js +++ b/third_party/WebKit/LayoutTests/fast/scrolling/resources/scrollable-area.js @@ -1,13 +1,13 @@ var referenceResult = 0; var referenceResult2 = 0; var referenceIntermediateFunction = 0; -var isDRT = window.layoutTestController && window.internals && window.internals.numberOfScrollableAreas; +var isDRT = window.testRunner && window.internals && window.internals.numberOfScrollableAreas; function runTest(firstResult, intermediateFunction, secondResult) { if (isDRT) { - layoutTestController.waitUntilDone(); - layoutTestController.dumpAsText(); + testRunner.waitUntilDone(); + testRunner.dumpAsText(); } referenceResult = firstResult; @@ -31,7 +31,7 @@ function end() shouldBeTrue(stringify(result == referenceResult2)); } - layoutTestController.notifyDone(); + testRunner.notifyDone(); return; } |