| Index: third_party/WebKit/LayoutTests/inspector/animation/animation-web-anim-negative-start-time.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/animation/animation-web-anim-negative-start-time.html b/third_party/WebKit/LayoutTests/inspector/animation/animation-web-anim-negative-start-time.html
|
| index 2572d48dc5f64c943b1dcf77623d0ed126b51e1d..ce843a08863201dae273f88b1441b3797a786f0d 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/animation/animation-web-anim-negative-start-time.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/animation/animation-web-anim-negative-start-time.html
|
| @@ -26,19 +26,11 @@ function test()
|
| // Override animation color for testing
|
| // FIXME: Set animation name of Web Animation instead; not supported yet
|
| WebInspector.AnimationUI.Color = function() { return "black"; }
|
| - var timeline;
|
| - InspectorTest.addSniffer(WebInspector.TabbedPane.prototype, "changeTabView", onChangeTabView, true);
|
| - WebInspector.viewManager.showView("animations");
|
|
|
| - function onChangeTabView(id, view)
|
| - {
|
| - if (!timeline && id === "animations") {
|
| - timeline = view;
|
| - InspectorTest.assertTrue(timeline instanceof WebInspector.AnimationTimeline);
|
| - InspectorTest.waitForAnimationAdded(step2);
|
| - InspectorTest.evaluateInPage("startAnimation()");
|
| - }
|
| - }
|
| + WebInspector.viewManager.showView("animations");
|
| + var timeline = self.runtime.sharedInstance(WebInspector.AnimationTimeline);
|
| + InspectorTest.evaluateInPage("startAnimation()");
|
| + InspectorTest.waitForAnimationAdded(step2);
|
|
|
| function step2(group)
|
| {
|
|
|