Title: [148053] trunk/Source/WebCore
Revision
148053
Author
[email protected]
Date
2013-04-09 14:30:11 -0700 (Tue, 09 Apr 2013)

Log Message

Unreviewed, fix the Windows build after r148050.

* html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlTextTrackContainerElement::updateTimerFired): Use lround().

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (148052 => 148053)


--- trunk/Source/WebCore/ChangeLog	2013-04-09 21:28:50 UTC (rev 148052)
+++ trunk/Source/WebCore/ChangeLog	2013-04-09 21:30:11 UTC (rev 148053)
@@ -1,3 +1,10 @@
+2013-04-09  Eric Carlson  <[email protected]>
+
+        Unreviewed, fix the Windows build after r148050.
+
+        * html/shadow/MediaControlElements.cpp:
+        (WebCore::MediaControlTextTrackContainerElement::updateTimerFired): Use lround().
+
 2013-04-09  Tim Horton  <[email protected]>
 
         [wk2] IconDatabase images should be decoded in the WebProcess

Modified: trunk/Source/WebCore/html/shadow/MediaControlElements.cpp (148052 => 148053)


--- trunk/Source/WebCore/html/shadow/MediaControlElements.cpp	2013-04-09 21:28:50 UTC (rev 148052)
+++ trunk/Source/WebCore/html/shadow/MediaControlElements.cpp	2013-04-09 21:30:11 UTC (rev 148053)
@@ -1324,7 +1324,7 @@
 
     float smallestDimension = std::min(m_videoDisplaySize.size().height(), m_videoDisplaySize.size().width());
     float fontScale = document()->page()->group().captionPreferences()->captionFontSizeScaleAndImportance(m_fontSizeIsImportant);
-    m_fontSize = lrintf(smallestDimension * fontScale);
+    m_fontSize = lround(smallestDimension * fontScale);
     
     CueList activeCues = mediaElement->currentlyActiveCues();
     for (size_t i = 0; i < activeCues.size(); ++i) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to