Title: [282538] releases/WebKitGTK/webkit-2.32/Source/WebCore
- Revision
- 282538
- Author
- [email protected]
- Date
- 2021-09-16 03:36:58 -0700 (Thu, 16 Sep 2021)
Log Message
Merge r278397 - Make EndTransparancyLayer a potential no-op
https://bugs.webkit.org/show_bug.cgi?id=226523
Patch by Rob Buis <[email protected]> on 2021-06-02
Reviewed by Simon Fraser.
Make EndTransparancyLayer a no-op if there is no
current transparency layer in place.
* platform/graphics/displaylists/DisplayListItems.cpp:
(WebCore::DisplayList::EndTransparencyLayer::apply const):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog (282537 => 282538)
--- releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog 2021-09-16 10:36:52 UTC (rev 282537)
+++ releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog 2021-09-16 10:36:58 UTC (rev 282538)
@@ -1,3 +1,16 @@
+2021-06-02 Rob Buis <[email protected]>
+
+ Make EndTransparancyLayer a potential no-op
+ https://bugs.webkit.org/show_bug.cgi?id=226523
+
+ Reviewed by Simon Fraser.
+
+ Make EndTransparancyLayer a no-op if there is no
+ current transparency layer in place.
+
+ * platform/graphics/displaylists/DisplayListItems.cpp:
+ (WebCore::DisplayList::EndTransparencyLayer::apply const):
+
2021-05-28 Brent Fulgham <[email protected]>
Buffer computations should use correct type
Modified: releases/WebKitGTK/webkit-2.32/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp (282537 => 282538)
--- releases/WebKitGTK/webkit-2.32/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp 2021-09-16 10:36:52 UTC (rev 282537)
+++ releases/WebKitGTK/webkit-2.32/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp 2021-09-16 10:36:58 UTC (rev 282538)
@@ -981,7 +981,8 @@
void EndTransparencyLayer::apply(GraphicsContext& context) const
{
- context.endTransparencyLayer();
+ if (context.isInTransparencyLayer())
+ context.endTransparencyLayer();
}
#if USE(CG)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes