blob: d5169534fa4dbab2b5d451179bc9a0e1a50dcf8d [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/animation/css/css_transition.h"
namespace blink {
CSSTransition::CSSTransition(ExecutionContext* execution_context,
AnimationTimeline* timeline,
AnimationEffect* content,
const PropertyHandle& transition_property)
: Animation(execution_context, timeline, content),
transition_property_(transition_property) {}
AtomicString CSSTransition::transitionProperty() const {
return transition_property_.GetCSSPropertyName().ToAtomicString();
}
} // namespace blink