⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 228322 in webkit


Ignore:
Timestamp:
Feb 9, 2018, 9:26:47 AM (9 years ago)
Author:
pvollan@apple.com
Message:

Unreviewed 32-bit build fix after <https://trac.webkit.org/changeset/228308>.

  • WebView/WebWindowAnimation.mm:

(-[WebWindowScaleAnimation additionalDurationNeededToReachFinalFrame]):

Location:
trunk/Source/WebKitLegacy/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKitLegacy/mac/ChangeLog

    r228308 r228322  
     12018-02-09  Per Arne Vollan  <pvollan@apple.com>
     2
     3        Unreviewed 32-bit build fix after <https://trac.webkit.org/changeset/228308>.
     4
     5        * WebView/WebWindowAnimation.mm:
     6        (-[WebWindowScaleAnimation additionalDurationNeededToReachFinalFrame]):
     7
    182018-02-08  Per Arne Vollan  <pvollan@apple.com>
    29
  • trunk/Source/WebKitLegacy/mac/WebView/WebWindowAnimation.mm

    r228308 r228322  
    211211        maxDist = dist;
    212212   
    213     return std::min(sqrt(maxDist) * speedFactor, maxAdditionalDuration);
     213    return std::min(static_cast<CGFloat>(sqrt(maxDist) * speedFactor), maxAdditionalDuration);
    214214}
    215215
Note: See TracChangeset for help on using the changeset viewer.