Skip to content

Commit

Permalink
Fix build with -DENABLE_GPU_PROCESS=ON in RemoteGraphicsContextGLProx…
Browse files Browse the repository at this point in the history
…yGBM

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

Unreviewed Build Fix.

Fixes a no match for 'operator!' error since the sendResult is now a
'IPC::ConnectionSendSyncResult<Messages::RemoteGraphicsContextGL::PrepareForDisplay>')

* Source/WebKit/WebProcess/GPU/graphics/gbm/RemoteGraphicsContextGLProxyGBM.cpp:
(WebKit::RemoteGraphicsContextGLProxyGBM::prepareForDisplay):

Canonical link: https://commits.webkit.org/270962@main
  • Loading branch information
psaavedra committed Nov 20, 2023
1 parent a6eac11 commit 1164de2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void RemoteGraphicsContextGLProxyGBM::prepareForDisplay()
return;

auto sendResult = sendSync(Messages::RemoteGraphicsContextGL::PrepareForDisplay());
if (!sendResult) {
if (!sendResult.succeeded()) {
markContextLost();
return;
}
Expand Down

0 comments on commit 1164de2

Please sign in to comment.