diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/animation/scroll_timeline_util.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/animation/scroll_timeline_util.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/animation/scroll_timeline_util.h b/chromium/third_party/blink/renderer/core/animation/scroll_timeline_util.h index a1111278ccd..c17846b8b89 100644 --- a/chromium/third_party/blink/renderer/core/animation/scroll_timeline_util.h +++ b/chromium/third_party/blink/renderer/core/animation/scroll_timeline_util.h @@ -8,12 +8,15 @@ #include <memory> #include "base/optional.h" +#include "cc/animation/scroll_timeline.h" #include "third_party/blink/renderer/core/animation/scroll_timeline.h" #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/platform/animation/compositor_animation.h" namespace blink { +using CompositorScrollTimeline = cc::ScrollTimeline; + class AnimationTimeline; class ComputedStyle; class Node; @@ -22,7 +25,7 @@ namespace scroll_timeline_util { // Converts the input timeline to the compositor representation of a // ScrollTimeline. Returns nullptr if the input is not a ScrollTimeline. -std::unique_ptr<CompositorScrollTimeline> CORE_EXPORT +scoped_refptr<CompositorScrollTimeline> CORE_EXPORT ToCompositorScrollTimeline(AnimationTimeline*); // Retrieves the 'scroll' compositor element id for the input node, or |