Title: [269530] trunk/Source/WebCore
Revision
269530
Author
wenson_hs...@apple.com
Date
2020-11-06 12:22:59 -0800 (Fri, 06 Nov 2020)

Log Message

Unreviewed, fix the Windows 10 debug build after r269525

Speculative fix: add `NO_RETURN_DUE_TO_ASSERT` to method declarations in DisplayListItems.h as well.

* platform/graphics/displaylists/DisplayListItems.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (269529 => 269530)


--- trunk/Source/WebCore/ChangeLog	2020-11-06 20:21:44 UTC (rev 269529)
+++ trunk/Source/WebCore/ChangeLog	2020-11-06 20:22:59 UTC (rev 269530)
@@ -1,3 +1,11 @@
+2020-11-06  Wenson Hsieh  <wenson_hs...@apple.com>
+
+        Unreviewed, fix the Windows 10 debug build after r269525
+
+        Speculative fix: add `NO_RETURN_DUE_TO_ASSERT` to method declarations in DisplayListItems.h as well.
+
+        * platform/graphics/displaylists/DisplayListItems.h:
+
 2020-11-06  Joey Arhar  <jar...@chromium.org>
 
         Text gets clobbered when assigning to input.defaultValue

Modified: trunk/Source/WebCore/platform/graphics/displaylists/DisplayListItems.h (269529 => 269530)


--- trunk/Source/WebCore/platform/graphics/displaylists/DisplayListItems.h	2020-11-06 20:21:44 UTC (rev 269529)
+++ trunk/Source/WebCore/platform/graphics/displaylists/DisplayListItems.h	2020-11-06 20:22:59 UTC (rev 269530)
@@ -1328,7 +1328,7 @@
     template<class Encoder> void encode(Encoder&) const;
     template<class Decoder> static Optional<Ref<DrawImageBuffer>> decode(Decoder&);
 
-    void apply(GraphicsContext&) const;
+    NO_RETURN_DUE_TO_ASSERT void apply(GraphicsContext&) const;
 
     Optional<FloatRect> globalBounds() const { return WTF::nullopt; }
     Optional<FloatRect> localBounds(const GraphicsContext&) const { return m_destinationRect; }
@@ -2312,7 +2312,7 @@
     IntPoint destPoint() const { return m_destPoint; }
     AlphaPremultiplication destFormat() const { return m_destFormat; }
 
-    void apply(GraphicsContext&) const;
+    NO_RETURN_DUE_TO_ASSERT void apply(GraphicsContext&) const;
 
     Optional<FloatRect> localBounds(const GraphicsContext&) const { return WTF::nullopt; }
     Optional<FloatRect> globalBounds() const { return {{ m_destPoint, m_srcRect.size() }}; }
@@ -2381,7 +2381,7 @@
     const FloatRect& destination() const { return m_destination; }
     MediaPlayerIdentifier identifier() const { return m_identifier; }
 
-    void apply(GraphicsContext&) const;
+    NO_RETURN_DUE_TO_ASSERT void apply(GraphicsContext&) const;
 
     Optional<FloatRect> localBounds(const GraphicsContext&) const { return WTF::nullopt; }
     Optional<FloatRect> globalBounds() const { return { m_destination }; }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to