Skip to content

Commit 9b98de9

Browse files
committed
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: Canonical link: https://commits.webkit.org/231325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 7d3699b commit 9b98de9

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

Source/WebCore/ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2020-11-06 Wenson Hsieh <wenson_hsieh@apple.com>
2+
3+
Unreviewed, fix the Windows 10 debug build after r269525
4+
5+
Speculative fix: add `NO_RETURN_DUE_TO_ASSERT` to method declarations in DisplayListItems.h as well.
6+
7+
* platform/graphics/displaylists/DisplayListItems.h:
8+
19
2020-11-06 Joey Arhar <jarhar@chromium.org>
210

311
Text gets clobbered when assigning to input.defaultValue

Source/WebCore/platform/graphics/displaylists/DisplayListItems.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ class DrawImageBuffer {
13281328
template<class Encoder> void encode(Encoder&) const;
13291329
template<class Decoder> static Optional<Ref<DrawImageBuffer>> decode(Decoder&);
13301330

1331-
void apply(GraphicsContext&) const;
1331+
NO_RETURN_DUE_TO_ASSERT void apply(GraphicsContext&) const;
13321332

13331333
Optional<FloatRect> globalBounds() const { return WTF::nullopt; }
13341334
Optional<FloatRect> localBounds(const GraphicsContext&) const { return m_destinationRect; }
@@ -2312,7 +2312,7 @@ class PutImageData {
23122312
IntPoint destPoint() const { return m_destPoint; }
23132313
AlphaPremultiplication destFormat() const { return m_destFormat; }
23142314

2315-
void apply(GraphicsContext&) const;
2315+
NO_RETURN_DUE_TO_ASSERT void apply(GraphicsContext&) const;
23162316

23172317
Optional<FloatRect> localBounds(const GraphicsContext&) const { return WTF::nullopt; }
23182318
Optional<FloatRect> globalBounds() const { return {{ m_destPoint, m_srcRect.size() }}; }
@@ -2381,7 +2381,7 @@ class PaintFrameForMedia {
23812381
const FloatRect& destination() const { return m_destination; }
23822382
MediaPlayerIdentifier identifier() const { return m_identifier; }
23832383

2384-
void apply(GraphicsContext&) const;
2384+
NO_RETURN_DUE_TO_ASSERT void apply(GraphicsContext&) const;
23852385

23862386
Optional<FloatRect> localBounds(const GraphicsContext&) const { return WTF::nullopt; }
23872387
Optional<FloatRect> globalBounds() const { return { m_destination }; }

0 commit comments

Comments
 (0)