[WinCairo] Unreviewed build fix after r181665.
authorpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Mar 2015 16:15:17 +0000 (16:15 +0000)
committerpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Mar 2015 16:15:17 +0000 (16:15 +0000)
* platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
(WebCore::MediaPlayerPrivateMediaFoundation::setSize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181694 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp

index a883961..2896d70 100644 (file)
@@ -1,3 +1,10 @@
+2015-03-18  Per Arne Vollan  <peavo@outlook.com>
+
+        [WinCairo] Unreviewed build fix after r181665.
+
+        * platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
+        (WebCore::MediaPlayerPrivateMediaFoundation::setSize):
+
 2015-03-18  Joseph Pecoraro  <pecoraro@apple.com>
 
         Remove unused "preprocessor" parameter to sub-CodeGenerators
index d798f5a..1585c66 100644 (file)
@@ -212,7 +212,7 @@ void MediaPlayerPrivateMediaFoundation::setSize(const IntSize& size)
 
     if (view) {
         scrollOffset = view->scrollOffsetForFixedPosition();
-        positionInWindow = view->convertToContainingWindow(m_lastPaintRect.location());
+        positionInWindow = view->convertToContainingWindow(IntPoint(m_lastPaintRect.location()));
     }
 
     positionInWindow.move(-scrollOffset.width().toInt(), -scrollOffset.height().toInt());