[webkit-changes] [WebKit/WebKit] 5ca7f8: [WPE] Unreviewed, fix build error after 279501 at main

Diego Pino noreply at github.com
Thu May 30 13:04:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5ca7f83342d31c77a802fe0b525f005a82e38732
      https://github.com/WebKit/WebKit/commit/5ca7f83342d31c77a802fe0b525f005a82e38732
  Author: Diego Pino Garcia <dpino at igalia.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

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

  Log Message:
  -----------
  [WPE] Unreviewed, fix build error after 279501 at main
https://bugs.webkit.org/show_bug.cgi?id=273750

In the case unified sources group files 'WebAutomationSessionLibWPE.cpp'
and 'WebAutomationSessionWPE.cpp' together, because there are several
static functions in these files defined with the same name, a duplicate
symbol build error will happen.

Rename function names to avoid collisions.

* Source/WebKit/UIProcess/Automation/libwpe/WebAutomationSessionLibWPE.cpp:
(WebKit::libWPEModifiersToEventState):
(WebKit::platformSimulateMouseInteractionLibWPE):
(WebKit::modifiersToEventState): Deleted.
* Source/WebKit/UIProcess/Automation/libwpe/WebAutomationSessionWPE.cpp:
(WebKit::libWPEMouseButtonToWPEButton):
(WebKit::libWPEStateModifierForWPEButton):
(WebKit::doMouseEvent):
(WebKit::WebAutomationSession::platformSimulateMouseInteraction):
(WebKit::mouseButtonToWPEButton): Deleted.
(WebKit::stateModifierForWPEButton): Deleted.

Canonical link: https://commits.webkit.org/279538@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