Skip to content

Commit

Permalink
Add missing undef MESSAGE_CHECK for cpp file
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=246935

Reviewed by Žan Doberšek.

Add missing #undef MESSAGE_CHECK at the end of the cpp file
solves the problem with errors in unified builds on mac machines.

* Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp:
* Source/WebKit/UIProcess/ProvisionalPageProxy.cpp:

Canonical link: https://commits.webkit.org/255908@main
  • Loading branch information
pgorszkowski-igalia authored and zdobersek committed Oct 24, 2022
1 parent a2e027e commit 238827c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp
Expand Up @@ -516,4 +516,7 @@ void RemoteRenderingBackend::lowMemoryHandler(Critical, Synchronous)

} // namespace WebKit

#undef MESSAGE_CHECK
#undef MESSAGE_CHECK_WITH_RETURN_VALUE

#endif // ENABLE(GPU_PROCESS)
2 changes: 2 additions & 0 deletions Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
Expand Up @@ -630,3 +630,5 @@ bool ProvisionalPageProxy::sendMessage(UniqueRef<IPC::Encoder>&& encoder, Option
}

} // namespace WebKit

#undef MESSAGE_CHECK

0 comments on commit 238827c

Please sign in to comment.