| Index: third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js b/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js
|
| index 71aba877044d69e0f1c201644413993fed4ef5be..0c608e10e5c26be13b71bc06ab61cdb9c7d5c3b2 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js
|
| @@ -762,11 +762,11 @@ WebInspector.AnimationTimeline.StepTimingFunction = function(steps, stepAtPositi
|
| * @return {?WebInspector.AnimationTimeline.StepTimingFunction}
|
| */
|
| WebInspector.AnimationTimeline.StepTimingFunction.parse = function(text) {
|
| - var match = text.match(/^step-(start|middle|end)$/);
|
| - if (match)
|
| - return new WebInspector.AnimationTimeline.StepTimingFunction(1, match[1]);
|
| - match = text.match(/^steps\((\d+), (start|middle|end)\)$/);
|
| + var match = text.match(/^steps\((\d+), (start|middle)\)$/);
|
| if (match)
|
| return new WebInspector.AnimationTimeline.StepTimingFunction(parseInt(match[1], 10), match[2]);
|
| + match = text.match(/^steps\((\d+)\)$/);
|
| + if (match)
|
| + return new WebInspector.AnimationTimeline.StepTimingFunction(parseInt(match[1], 10), "end");
|
| return null;
|
| }
|
|
|