Skip to content

Commit

Permalink
Build fix after 160450@main by guarding showRenderTree
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=260702

Unreviewed build fix.

Where LOG_DISABLED is disabled, the build fails due to missing showRenderTree().
The showRenderTree() is guarded by ENABLE(TREE_DEBUGGING).

* Source/WebCore/page/LocalFrameViewLayoutContext.cpp:
(WebCore::LocalFrameViewLayoutContext::performLayout):

Canonical link: https://commits.webkit.org/267268@main
  • Loading branch information
shivamidow committed Aug 25, 2023
1 parent 3518915 commit 9e05696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebCore/page/LocalFrameViewLayoutContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ void LocalFrameViewLayoutContext::performLayout()
#endif
clearSubtreeLayoutRoot();

#if !LOG_DISABLED
#if !LOG_DISABLED && ENABLE(TREE_DEBUGGING)
auto layoutLogEnabled = [] {
return LogLayout.state == WTFLogChannelState::On;
};
Expand Down

0 comments on commit 9e05696

Please sign in to comment.