Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: third_party/WebKit/LayoutTests/inspector/animation/animation-group-matching-animations.html

Issue 2674573006: [DevTools] Migrate TargetObserver to AnimationModel observer where makes sense. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/animation/animation-group-matching-animations.html
diff --git a/third_party/WebKit/LayoutTests/inspector/animation/animation-group-matching-animations.html b/third_party/WebKit/LayoutTests/inspector/animation/animation-group-matching-animations.html
index 9067d7eb728ece3fc50105dd8ebe1ba01eb034e2..64bcf70dbe4629e588f876c99c601a2a2a5373ab 100644
--- a/third_party/WebKit/LayoutTests/inspector/animation/animation-group-matching-animations.html
+++ b/third_party/WebKit/LayoutTests/inspector/animation/animation-group-matching-animations.html
@@ -62,7 +62,7 @@ function test()
var groupIds = [];
var i = 0;
var stepNumber = 0;
- var model = Animation.AnimationModel.fromTarget(InspectorTest.mainTarget);
+ var model = InspectorTest.mainTarget.model(Animation.AnimationModel);
model.ensureEnabled();
model.addEventListener(Animation.AnimationModel.Events.AnimationGroupStarted, groupStarted);
// Each step triggers a new animation group.

Powered by Google App Engine
This is Rietveld 408576698