diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/animation/css/css_animation.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/animation/css/css_animation.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/chromium/third_party/blink/renderer/core/animation/css/css_animation.h b/chromium/third_party/blink/renderer/core/animation/css/css_animation.h index ad68b5b8c37..a531dac2167 100644 --- a/chromium/third_party/blink/renderer/core/animation/css/css_animation.h +++ b/chromium/third_party/blink/renderer/core/animation/css/css_animation.h @@ -19,7 +19,7 @@ class CORE_EXPORT CSSAnimation : public Animation { CSSAnimation(ExecutionContext*, AnimationTimeline*, AnimationEffect*, - int animation_index, + wtf_size_t animation_index, const String& animation_name); bool IsCSSAnimation() const final { return true; } @@ -28,7 +28,7 @@ class CORE_EXPORT CSSAnimation : public Animation { Element* OwningElement() const override { return owning_element_; } const String& animationName() const { return animation_name_; } - int AnimationIndex() const { return animation_index_; } + wtf_size_t AnimationIndex() const { return animation_index_; } void SetAnimationIndex(wtf_size_t absolute_position) { animation_index_ = absolute_position; } @@ -51,12 +51,8 @@ class CORE_EXPORT CSSAnimation : public Animation { void play(ExceptionState& = ASSERT_NO_EXCEPTION) override; void reverse(ExceptionState& = ASSERT_NO_EXCEPTION) override; void setTimeline(AnimationTimeline*) override; -#if defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION) void setStartTime(const V8CSSNumberish* start_time, ExceptionState& exception_state) override; -#else // defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION) - void setStartTime(CSSNumberish, ExceptionState&) override; -#endif // defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION) // When set, subsequent changes to animation-play-state no longer affect the // play state. @@ -98,7 +94,7 @@ class CORE_EXPORT CSSAnimation : public Animation { // animation_index_ represents the absolute position of an animation within // the same owning element. This index helps resolve the animation ordering // when comparing two animations with the same owning element. - int animation_index_; + wtf_size_t animation_index_; AtomicString animation_name_; // When set, the web-animation API is overruling the animation-play-state |