Title: [158746] trunk/Source/WebCore
Revision
158746
Author
[email protected]
Date
2013-11-06 08:26:06 -0800 (Wed, 06 Nov 2013)

Log Message

Unreviewed 32-bit Mac build fix; use an explicit FloatSize -> IntSize conversion function.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::sizeChanged):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (158745 => 158746)


--- trunk/Source/WebCore/ChangeLog	2013-11-06 16:15:16 UTC (rev 158745)
+++ trunk/Source/WebCore/ChangeLog	2013-11-06 16:26:06 UTC (rev 158746)
@@ -1,3 +1,10 @@
+2013-11-06  Jer Noble  <[email protected]>
+
+        Unreviewed 32-bit Mac build fix; use an explicit FloatSize -> IntSize conversion function.
+
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+        (WebCore::MediaPlayerPrivateAVFoundationObjC::sizeChanged):
+
 2013-11-04  Jer Noble  <[email protected]>
 
         Playing many sounds with HTML5 Audio makes WebKit unresponsive

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (158745 => 158746)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2013-11-06 16:15:16 UTC (rev 158745)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2013-11-06 16:26:06 UTC (rev 158746)
@@ -1173,7 +1173,7 @@
     // Some assets don't report track properties until they are completely ready to play, but we
     // want to report a size as early as possible so use presentationSize when an asset has no tracks.
     if (m_avPlayerItem && ![m_cachedTracks count]) {
-        setNaturalSize(IntSize(m_cachedPresentationSize));
+        setNaturalSize(roundedIntSize(m_cachedPresentationSize));
         return;
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to