Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 03618f4ebbbd86f14518f38131093ac7e2940e66
      
https://github.com/WebKit/WebKit/commit/03618f4ebbbd86f14518f38131093ac7e2940e66
  Author: Adrian Perez de Castro <[email protected]>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Automation/libwpe/WebAutomationSessionWPE.cpp

  Log Message:
  -----------
  REGRESSION(279376@main): [WPE] Build broken with ENABLE_WEBDRIVER=OFF
https://bugs.webkit.org/show_bug.cgi?id=275423

Reviewed by Michael Catanzaro.

Move some parts of WebAutomationSession.cpp under their corresponding
guards to avoid trying to build them when ENABLE_WEBDRIVER is disabled.

* Source/WebKit/UIProcess/Automation/libwpe/WebAutomationSessionWPE.cpp:
(WebKit::deviceScaleLocationInView): Guard with ENABLE(WEBDRIVER) to
avoid defined-but-unused warning when building with WebDriver disabled.
(WebKit::libWPEStateModifierForWPEButton): Guard with
ENABLE(WEBDRIVER_MOUSE_INTERACTIONS), as it's the case with its
declraration.
(WebKit::doMouseEvent): Move under a ENABLE(WEBDRIVER_MOUSE_INTERACTIONS)
guard to avoid defined-but-unused compiler warnings.
(WebKit::doMotionEvent): Ditto.
(WebKit::libWPEMouseButtonToWPEButton): Ditto.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to