[webkit-changes] [WebKit/WebKit] fbdc29: Debug build with gcc fails

Przemyslaw Gorszkowski noreply at github.com
Tue Jun 27 06:13:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fbdc29ad3c83a3384002f0fbe27dfcf4c2763ee7
      https://github.com/WebKit/WebKit/commit/fbdc29ad3c83a3384002f0fbe27dfcf4c2763ee7
  Author: Przemyslaw Gorszkowski <pgorszkowski at igalia.com>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M Source/WebCore/workers/service/server/SWServerWorker.cpp

  Log Message:
  -----------
  Debug build with gcc fails
https://bugs.webkit.org/show_bug.cgi?id=258551

Reviewed by Youenn Fablet.

Static cast of WebCore::ServiceWorkerState solves a problem with debug
build with gcc. It happens only in debug build because in release build
the RELEASE_ASSERT_WITH_MESSAGE expands to assert without message.

* Source/WebCore/workers/service/server/SWServerWorker.cpp:
(WebCore::SWServerWorker::didFinishInstall):
(WebCore::SWServerWorker::didFinishActivation):

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




More information about the webkit-changes mailing list