Title: [226107] releases/WebKitGTK/webkit-2.18/Source/WebCore
- Revision
- 226107
- Author
- [email protected]
- Date
- 2017-12-18 23:59:16 -0800 (Mon, 18 Dec 2017)
Log Message
Merge r224671 - [GTK][WPE] CoordinatedGraphicsLayer::setNeedsDisplayInRect() converts FloatRect to IntRect erroneously
https://bugs.webkit.org/show_bug.cgi?id=179476
Reviewed by Žan Doberšek.
Convert the passed FloatRect into an IntRect using enclosingIntRect(), so we are guaranteed that
the rectangle to paint fits into the buffer that the backingStore will allocate.
No behaviour change.
* platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::setNeedsDisplayInRect):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.18/Source/WebCore/ChangeLog (226106 => 226107)
--- releases/WebKitGTK/webkit-2.18/Source/WebCore/ChangeLog 2017-12-19 07:57:25 UTC (rev 226106)
+++ releases/WebKitGTK/webkit-2.18/Source/WebCore/ChangeLog 2017-12-19 07:59:16 UTC (rev 226107)
@@ -1,3 +1,18 @@
+2017-11-10 Miguel Gomez <[email protected]>
+
+ [GTK][WPE] CoordinatedGraphicsLayer::setNeedsDisplayInRect() converts FloatRect to IntRect erroneously
+ https://bugs.webkit.org/show_bug.cgi?id=179476
+
+ Reviewed by Žan Doberšek.
+
+ Convert the passed FloatRect into an IntRect using enclosingIntRect(), so we are guaranteed that
+ the rectangle to paint fits into the buffer that the backingStore will allocate.
+
+ No behaviour change.
+
+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::setNeedsDisplayInRect):
+
2017-12-18 Zalan Bujtas <[email protected]>
[SVG] Detach list wrappers before resetting the base value.
Modified: releases/WebKitGTK/webkit-2.18/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp (226106 => 226107)
--- releases/WebKitGTK/webkit-2.18/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp 2017-12-19 07:57:25 UTC (rev 226106)
+++ releases/WebKitGTK/webkit-2.18/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp 2017-12-19 07:59:16 UTC (rev 226107)
@@ -532,7 +532,7 @@
void CoordinatedGraphicsLayer::setNeedsDisplayInRect(const FloatRect& rect, ShouldClipToLayer)
{
if (m_mainBackingStore)
- m_mainBackingStore->invalidate(IntRect(rect));
+ m_mainBackingStore->invalidate(enclosingIntRect(rect));
didChangeLayerState();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes