[webkit-changes] [WebKit/WebKit] 9c1773: [GTK][WPE] Build fails with RELEASE_LOG=ON

Adrian Perez noreply at github.com
Tue Feb 4 06:40:47 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9c17739ab025ee448a46ea6dc4a6939e387404cc
      https://github.com/WebKit/WebKit/commit/9c17739ab025ee448a46ea6dc4a6939e387404cc
  Author: Adrian Perez de Castro <aperez at igalia.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M Source/WebCore/platform/LogMessages.in
    M Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp
    M Source/WebKit/Platform/LogMessages.in
    M Source/WebKit/UIProcess/API/APIPageConfiguration.cpp
    M Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp

  Log Message:
  -----------
  [GTK][WPE] Build fails with RELEASE_LOG=ON
https://bugs.webkit.org/show_bug.cgi?id=287001

Reviewed by Carlos Garcia Campos.

Use the PRIu64 and PUBLIC_LOG_STRING macros where appropriate to make
format strings used in logging match the types of the values being
formatted.

* Source/WebCore/platform/LogMessages.in: Switch to "%"PRIu64 instead
of "%llu" as format specifier for uint64_t values used identifiers.
* Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp:
(WebKit::NetworkResourceLoader::didReceiveResponse): Use "%lld" as
format specifier to match the type returned by ::expectedContentLength().
* Source/WebKit/Platform/LogMessages.in: Switch to "%"PRIu64 instead
of "%llu" as format specifier for uint64_t values used identifiers.
* Source/WebKit/UIProcess/API/APIPageConfiguration.cpp:
(API::PageConfiguration::delaysWebProcessLaunchUntilFirstLoad const):
Use PUBLIC_LOG_STRING instead of "{public}s" as format specifier.
* Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp:
(WebKit::WebSWContextManagerConnection::workerTerminated): Use "%"PRIu64
instead of "%llu" to format an uint64_t value.
* Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
Remove casts to "unsigned long long" in the
WebFrameLoaderClient_WEBFRAMEID and WebFrameLoaderClient_WEBPAGEID
macros now that the format strings use "%"PRIu64.
(WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):

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