logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

webkit-gtk-2.42.2_tree_debugging.patch (1281B)


  1. From 9e05696bcb54853cb53d763acbb3eed7ec39f1ed Mon Sep 17 00:00:00 2001
  2. From: ChangSeok Oh <changseok@webkit.org>
  3. Date: Fri, 25 Aug 2023 01:24:09 -0700
  4. Subject: [PATCH] Build fix after 160450@main by guarding showRenderTree
  5. https://bugs.webkit.org/show_bug.cgi?id=260702
  6. Unreviewed build fix.
  7. Where LOG_DISABLED is disabled, the build fails due to missing showRenderTree().
  8. The showRenderTree() is guarded by ENABLE(TREE_DEBUGGING).
  9. * Source/WebCore/page/LocalFrameViewLayoutContext.cpp:
  10. (WebCore::LocalFrameViewLayoutContext::performLayout):
  11. Canonical link: https://commits.webkit.org/267268@main
  12. ---
  13. Source/WebCore/page/LocalFrameViewLayoutContext.cpp | 2 +-
  14. 1 file changed, 1 insertion(+), 1 deletion(-)
  15. diff --git a/Source/WebCore/page/LocalFrameViewLayoutContext.cpp b/Source/WebCore/page/LocalFrameViewLayoutContext.cpp
  16. index bd98c8403226..16bb037a9950 100644
  17. --- a/Source/WebCore/page/LocalFrameViewLayoutContext.cpp
  18. +++ b/Source/WebCore/page/LocalFrameViewLayoutContext.cpp
  19. @@ -240,7 +240,7 @@ void LocalFrameViewLayoutContext::performLayout()
  20. #endif
  21. clearSubtreeLayoutRoot();
  22. -#if !LOG_DISABLED
  23. +#if !LOG_DISABLED && ENABLE(TREE_DEBUGGING)
  24. auto layoutLogEnabled = [] {
  25. return LogLayout.state == WTFLogChannelState::On;
  26. };