Skip to content

Commit

Permalink
REGRESSION(266149@main): RemoteRenderingBackendProxy.h(126): error C3…
Browse files Browse the repository at this point in the history
…646: 'displayRequirement': unknown override specifier

https://bugs.webkit.org/show_bug.cgi?id=259330

Unreviewed build fix for Windows port.
It was broken by 266149@main (bug#259316).

> WebProcess\GPU\graphics\RemoteRenderingBackendProxy.h(126): error C3646: 'displayRequirement': unknown override specifier
> WebProcess\GPU\graphics\RemoteRenderingBackendProxy.h(126): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

* Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.h:
Guard SwapBuffersResult by PLATFORM(COCOA).

Canonical link: https://commits.webkit.org/266152@main
  • Loading branch information
fujii committed Jul 19, 2023
1 parent 3c4dcc0 commit 6583669
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ class RemoteRenderingBackendProxy
bool hasEmptyDirtyRegion { false };
};

#if PLATFORM(COCOA)
struct SwapBuffersResult {
BufferSet buffers;
SwapBuffersDisplayRequirement displayRequirement;
};

#if PLATFORM(COCOA)
Vector<SwapBuffersResult> prepareBuffersForDisplay(const Vector<LayerPrepareBuffersData>&);
#endif

Expand Down

0 comments on commit 6583669

Please sign in to comment.