Bug 212276 - [IPC] Add support for specifying `Async WantsConnection` in message files
Summary: [IPC] Add support for specifying `Async WantsConnection` in message files
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
Keywords: InRadar
Depends on:
Reported: 2020-05-22 13:36 PDT by Wenson Hsieh
Modified: 2020-05-22 14:46 PDT (History)
5 users (show)

See Also:

Patch (9.95 KB, patch)
2020-05-22 14:04 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2020-05-22 13:36:13 PDT

    Foo(...) -> (...) Async WantsConnection

...results in this generated code:

    IPC::handleMessageAsync<Messages::WebPageProxy::Foo>(connection, connection, decoder, this, &WebPageProxy::foo);

...which results in a compiler error due to the duplicated `connection` argument.
Comment 1 Wenson Hsieh 2020-05-22 14:04:17 PDT
Created attachment 400074 [details]
Comment 2 EWS 2020-05-22 14:45:51 PDT
Committed r262075: <https://trac.webkit.org/changeset/262075>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 400074 [details].
Comment 3 Radar WebKit Bug Importer 2020-05-22 14:46:14 PDT