[webkit-changes] [WebKit/WebKit] 0ec859: [WPE] Fix compilation issue with USE_GBM=OFF and U...

Jani Hautakangas noreply at github.com
Tue Jan 14 00:35:08 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0ec85924c7860453cef53c541ee5d743707cc2e7
      https://github.com/WebKit/WebKit/commit/0ec85924c7860453cef53c541ee5d743707cc2e7
  Author: Jani Hautakangas <jani at kodegood.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/wpe/WebPageProxyWPE.cpp

  Log Message:
  -----------
  [WPE] Fix compilation issue with USE_GBM=OFF and USE_LIBDRM=OFF
https://bugs.webkit.org/show_bug.cgi?id=285229

Reviewed by Carlos Garcia Campos.

When USE_GBM=OFF and USE_LIBDRM=OFF, WPE platform compilation fails.
This combination also implies ENABLE_GPU_PROCESS=OFF. The patch
adds necessary ifdefs and includes to resolve the issue.

* Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:
(WebKit::WebKitProtocolHandler::handleGPU):
* Source/WebKit/UIProcess/wpe/WebPageProxyWPE.cpp:
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:

Canonical link: https://commits.webkit.org/288832@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list