Title: [278397] trunk/Source/WebCore
- Revision
- 278397
- Author
- [email protected]
- Date
- 2021-06-02 23:50:32 -0700 (Wed, 02 Jun 2021)
Log Message
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: trunk/Source/WebCore/ChangeLog (278396 => 278397)
--- trunk/Source/WebCore/ChangeLog 2021-06-03 06:26:55 UTC (rev 278396)
+++ trunk/Source/WebCore/ChangeLog 2021-06-03 06:50:32 UTC (rev 278397)
@@ -1,5 +1,18 @@
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-06-02 Rob Buis <[email protected]>
+
Split FillInlinePath/StrokeInlinePath
https://bugs.webkit.org/show_bug.cgi?id=225687
Modified: trunk/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp (278396 => 278397)
--- trunk/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp 2021-06-03 06:26:55 UTC (rev 278396)
+++ trunk/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp 2021-06-03 06:50:32 UTC (rev 278397)
@@ -1072,7 +1072,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