Changeset 148053 in webkit
- Timestamp:
- Apr 9, 2013, 2:30:11 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r148052 r148053 1 2013-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 1 8 2013-04-09 Tim Horton <timothy_horton@apple.com> 2 9 -
trunk/Source/WebCore/html/shadow/MediaControlElements.cpp
r148050 r148053 1325 1325 float smallestDimension = std::min(m_videoDisplaySize.size().height(), m_videoDisplaySize.size().width()); 1326 1326 float fontScale = document()->page()->group().captionPreferences()->captionFontSizeScaleAndImportance(m_fontSizeIsImportant); 1327 m_fontSize = lr intf(smallestDimension * fontScale);1327 m_fontSize = lround(smallestDimension * fontScale); 1328 1328 1329 1329 CueList activeCues = mediaElement->currentlyActiveCues();
Note:
See TracChangeset
for help on using the changeset viewer.