Skip to content

Commit

Permalink
[WPE] Fix build in older platforms
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=270355

Unreviewed build fix.

The include was wrong, even if WPE_PLATFORM is not enabled,
the DMABufRendererBufferFormat definition is needed for
the empty vector.

* Source/WebKit/UIProcess/wpe/WebPageProxyWPE.cpp:

Canonical link: https://commits.webkit.org/275559@main
  • Loading branch information
csaavedra committed Mar 1, 2024
1 parent b848143 commit 291cc07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/WebKit/UIProcess/wpe/WebPageProxyWPE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@
#include <wpe/wpe-platform.h>
#endif

#if USE(GBM) && ENABLE(WPE_PLATFORM)
#if USE(GBM)
#include "DMABufRendererBufferFormat.h"
#endif

#if USE(GBM) && ENABLE(WPE_PLATFORM)
#include "MessageSenderInlines.h"
#include "WebPageMessages.h"
#endif
Expand Down

0 comments on commit 291cc07

Please sign in to comment.