| Index: third_party/WebKit/LayoutTests/inspector/animation/animation-empty-web-animations.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/animation/animation-empty-web-animations.html b/third_party/WebKit/LayoutTests/inspector/animation/animation-empty-web-animations.html
|
| index 162c6a54c67467563ca191d274f464bea3547c55..1f092fea341050a9add7553dca538b276b865dad 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/animation/animation-empty-web-animations.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/animation/animation-empty-web-animations.html
|
| @@ -15,19 +15,10 @@ var initialize_Animations = function() {
|
|
|
| function test()
|
| {
|
| - InspectorTest.addSniffer(WebInspector.TabbedPane.prototype, "changeTabView", onChangeTabView, true);
|
| WebInspector.viewManager.showView("animations");
|
| - var timeline;
|
| -
|
| - function onChangeTabView(id, view)
|
| - {
|
| - if (!timeline && id === "animations") {
|
| - timeline = view;
|
| - InspectorTest.assertTrue(timeline instanceof WebInspector.AnimationTimeline);
|
| - InspectorTest.evaluateInPage("startAnimation()");
|
| - InspectorTest.addSniffer(WebInspector.AnimationModel.prototype, "animationStarted", animationStarted);
|
| - }
|
| - }
|
| + var timeline = self.runtime.sharedInstance(WebInspector.AnimationTimeline);
|
| + InspectorTest.evaluateInPage("startAnimation()");
|
| + InspectorTest.addSniffer(WebInspector.AnimationModel.prototype, "animationStarted", animationStarted);
|
|
|
| function animationStarted()
|
| {
|
|
|