[Web Animations] Refactor AnimationEffect and KeyframeEffect into AnimationEffectRead...
[WebKit-https.git] / Source / WebCore / animation / WebAnimation.idl
index b5c12c4..833add2 100644 (file)
@@ -38,7 +38,7 @@ enum AnimationPlayState {
     CustomConstructor()
 ] interface WebAnimation : EventTarget {
     attribute DOMString id;
-    attribute AnimationEffect? effect;
+    attribute AnimationEffectReadOnly? effect;
     attribute AnimationTimeline? timeline;
     [ImplementedAs=bindingsStartTime] attribute double? startTime;
     [MayThrowException, ImplementedAs=bindingsCurrentTime] attribute double? currentTime;