Title: [157548] trunk/Source/WebCore
- Revision
- 157548
- Author
- [email protected]
- Date
- 2013-10-16 18:53:39 -0700 (Wed, 16 Oct 2013)
Log Message
Attempt to fix the Windows build after http://trac.webkit.org/changeset/157547.
Apparently some Windows code uses setFrame and I missed it.
* platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
(WebCore::MediaPlayerPrivateFullscreenWindow::setRootChildLayer):
(WebCore::MediaPlayerPrivateFullscreenWindow::wndProc):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (157547 => 157548)
--- trunk/Source/WebCore/ChangeLog 2013-10-17 01:46:32 UTC (rev 157547)
+++ trunk/Source/WebCore/ChangeLog 2013-10-17 01:53:39 UTC (rev 157548)
@@ -1,5 +1,15 @@
2013-10-16 Tim Horton <[email protected]>
+ Attempt to fix the Windows build after http://trac.webkit.org/changeset/157547.
+
+ Apparently some Windows code uses setFrame and I missed it.
+
+ * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
+ (WebCore::MediaPlayerPrivateFullscreenWindow::setRootChildLayer):
+ (WebCore::MediaPlayerPrivateFullscreenWindow::wndProc):
+
+2013-10-16 Tim Horton <[email protected]>
+
Remote Layer Tree: Complete support for simple layer properties
https://bugs.webkit.org/show_bug.cgi?id=122933
Modified: trunk/Source/WebCore/platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp (157547 => 157548)
--- trunk/Source/WebCore/platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp 2013-10-17 01:46:32 UTC (rev 157547)
+++ trunk/Source/WebCore/platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp 2013-10-17 01:53:39 UTC (rev 157548)
@@ -119,7 +119,8 @@
m_layerTreeHost->setRootChildLayer(m_rootChild.get());
PlatformCALayer* rootLayer = m_rootChild->rootLayer();
CGRect rootBounds = m_rootChild->rootLayer()->bounds();
- m_rootChild->setFrame(rootBounds);
+ m_rootChild->setPosition(rootBounds.origin);
+ m_rootChild->setBounds(FloatRect(FloatPoint(), rootBounds.size));
m_rootChild->setBackgroundColor(CGColorGetConstantColor(kCGColorBlack));
#ifndef NDEBUG
RetainPtr<CGColorRef> redColor = adoptCF(CGColorCreateGenericRGB(1, 0, 0, 1));
@@ -170,7 +171,8 @@
m_layerTreeHost->resize();
PlatformCALayer* rootLayer = m_rootChild->rootLayer();
CGRect rootBounds = m_rootChild->rootLayer()->bounds();
- m_rootChild->setFrame(rootBounds);
+ m_rootChild->setPosition(rootBounds.origin);
+ m_rootChild->setBounds(FloatRect(FloatPoint(), rootBounds.size));
m_rootChild->setNeedsLayout();
}
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes