Changeset 148058 in webkit


Ignore:
Timestamp:
Apr 9, 2013 3:52:04 PM (11 years ago)
Author:
eric.carlson@apple.com
Message:

Unreviewed, another fix for the Windows build after r148050.

  • html/track/TextTrackCueGeneric.cpp:

(WebCore::TextTrackCueGeneric::setFontSize): Use lround().

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148056 r148058  
     12013-04-09  Eric Carlson  <eric.carlson@apple.com>
     2
     3        Unreviewed, another fix for the Windows build after r148050.
     4
     5        * html/track/TextTrackCueGeneric.cpp:
     6        (WebCore::TextTrackCueGeneric::setFontSize): Use lround().
     7
    182013-04-09  Bem Jones-Bey  <bjonesbe@adobe.com>
    29
  • trunk/Source/WebCore/html/track/TextTrackCueGeneric.cpp

    r148050 r148058  
    147147    if (fontSizeMultiplier())
    148148        size *= fontSizeMultiplier() / 100;
    149     element()->setInlineStyleProperty(CSSPropertyFontSize, String::number(lrintf(size)) + "px");
     149    element()->setInlineStyleProperty(CSSPropertyFontSize, String::number(lround(size)) + "px");
    150150
    151     LOG(Media, "TextTrackCueGeneric::setFontSize - setting cue font size to %li", lrintf(size));
     151    LOG(Media, "TextTrackCueGeneric::setFontSize - setting cue font size to %li", lround(size));
    152152}
    153153   
Note: See TracChangeset for help on using the changeset viewer.