| Index: third_party/WebKit/LayoutTests/inspector/animation/animation-timeline.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/animation/animation-timeline.html b/third_party/WebKit/LayoutTests/inspector/animation/animation-timeline.html
|
| index bca1d2e2eddbba936b8336432ed88c1322a7e334..40b3f6ca949cd6913ab81527eff943641249c2ab 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/animation/animation-timeline.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/animation/animation-timeline.html
|
| @@ -60,19 +60,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("startAnimationWithDelay()");
|
| - }
|
| - }
|
| + WebInspector.viewManager.showView("animations");
|
| + var timeline = self.runtime.sharedInstance(WebInspector.AnimationTimeline);
|
| + InspectorTest.evaluateInPage("startAnimationWithDelay()");
|
| + InspectorTest.waitForAnimationAdded(step2);
|
|
|
| function step2(group)
|
| {
|
|
|