Changeset 224164 in webkit


Ignore:
Timestamp:
Oct 29, 2017 2:08:46 PM (6 years ago)
Author:
graouts@webkit.org
Message:

[Web Animations] Expose the currentTime property on Animation
https://bugs.webkit.org/show_bug.cgi?id=178988

Unreviewed.

Style fixes missed in previous patch.

  • animation/WebAnimation.cpp:

(WebCore::WebAnimation::setCurrentTime):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r224163 r224164  
     12017-10-29  Antoine Quint  <graouts@apple.com>
     2
     3        [Web Animations] Expose the currentTime property on Animation
     4        https://bugs.webkit.org/show_bug.cgi?id=178988
     5
     6        Unreviewed.
     7
     8        Style fixes missed in previous patch.
     9
     10        * animation/WebAnimation.cpp:
     11        (WebCore::WebAnimation::setCurrentTime):
     12
    1132017-10-29  Antoine Quint  <graouts@apple.com>
    214
  • trunk/Source/WebCore/animation/WebAnimation.cpp

    r224163 r224164  
    127127    }
    128128
    129     std::optional<Seconds> timelineTime = m_timeline->currentTime();
    130     if (timelineTime == std::nullopt) {
     129    auto timelineTime = m_timeline->currentTime();
     130    if (!timelineTime) {
    131131        setStartTime(std::nullopt);
    132132        return;
Note: See TracChangeset for help on using the changeset viewer.