Changeset 148053 in webkit


Ignore:
Timestamp:
Apr 9, 2013, 2:30:11 PM (12 years ago)
Author:
eric.carlson@apple.com
Message:

Unreviewed, fix the Windows build after r148050.

  • html/shadow/MediaControlElements.cpp:

(WebCore::MediaControlTextTrackContainerElement::updateTimerFired): Use lround().

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148052 r148053  
     12013-04-09  Eric Carlson  <eric.carlson@apple.com>
     2
     3        Unreviewed, fix the Windows build after r148050.
     4
     5        * html/shadow/MediaControlElements.cpp:
     6        (WebCore::MediaControlTextTrackContainerElement::updateTimerFired): Use lround().
     7
    182013-04-09  Tim Horton  <timothy_horton@apple.com>
    29
  • trunk/Source/WebCore/html/shadow/MediaControlElements.cpp

    r148050 r148053  
    13251325    float smallestDimension = std::min(m_videoDisplaySize.size().height(), m_videoDisplaySize.size().width());
    13261326    float fontScale = document()->page()->group().captionPreferences()->captionFontSizeScaleAndImportance(m_fontSizeIsImportant);
    1327     m_fontSize = lrintf(smallestDimension * fontScale);
     1327    m_fontSize = lround(smallestDimension * fontScale);
    13281328   
    13291329    CueList activeCues = mediaElement->currentlyActiveCues();
Note: See TracChangeset for help on using the changeset viewer.