Fix LOG_DISABLED and TREE_DEBUGGING enabled build.
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jul 2019 18:26:31 +0000 (18:26 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jul 2019 18:26:31 +0000 (18:26 +0000)
https://bugs.webkit.org/show_bug.cgi?id=199623
<rdar://problem/52837648>

Reviewed by Simon Fraser.

* rendering/RenderLayerCompositor.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247262 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayerCompositor.cpp

index 5192537..7ca1121 100644 (file)
@@ -1,5 +1,15 @@
 2019-07-09  Zalan Bujtas  <zalan@apple.com>
 
+        Fix LOG_DISABLED and TREE_DEBUGGING enabled build.
+        https://bugs.webkit.org/show_bug.cgi?id=199623
+        <rdar://problem/52837648>
+
+        Reviewed by Simon Fraser.
+
+        * rendering/RenderLayerCompositor.cpp:
+
+2019-07-09  Zalan Bujtas  <zalan@apple.com>
+
         [LFC][IFC] Remove InlineItem references from inline runs.
         https://bugs.webkit.org/show_bug.cgi?id=199608
         <rdar://problem/52812775>
index 7e4b376..a1130da 100644 (file)
@@ -275,7 +275,7 @@ void RenderLayerCompositor::BackingSharingState::updateAfterDescendantTraversal(
         layer.backing()->clearBackingSharingLayers();
 }
 
-#if !LOG_DISABLED
+#if !LOG_DISABLED || ENABLE(TREE_DEBUGGING)
 static inline bool compositingLogEnabled()
 {
     return LogCompositing.state == WTFLogChannelState::On;