| Index: third_party/WebKit/LayoutTests/webaudio/Panner/distance-linear.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/Panner/distance-linear.html b/third_party/WebKit/LayoutTests/webaudio/Panner/distance-linear.html
|
| index fb285a0fdd336b9f102ae17aaa38925687cf97c5..82141620fb7e58cbd91609ecab5080e0ad3f31df 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/Panner/distance-linear.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/Panner/distance-linear.html
|
| @@ -12,14 +12,15 @@
|
| <script>
|
| let audit = Audit.createTaskRunner();
|
|
|
| - audit.define("test", (task, should) => {
|
| - task.describe("Linear distance model PannerNode");
|
| - // Create offline audio context.
|
| - context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
|
| + audit.define(
|
| + {label: 'test', description: 'Linear distance model PannerNode'},
|
| + (task, should) => {
|
| + // Create offline audio context.
|
| + context = new OfflineAudioContext(
|
| + 2, sampleRate * renderLengthSeconds, sampleRate);
|
|
|
| - createTestAndRun(context, "linear", should)
|
| - .then(() => task.done());
|
| - });
|
| + createTestAndRun(context, 'linear', should).then(() => task.done());
|
| + });
|
|
|
| audit.run();
|
| </script>
|
|
|