Title: [273210] trunk/Source/WebCore
- Revision
- 273210
- Author
- [email protected]
- Date
- 2021-02-20 16:38:20 -0800 (Sat, 20 Feb 2021)
Log Message
Fix the build when TREE_DEBUGGING is enabled in release builds
https://bugs.webkit.org/show_bug.cgi?id=222238
Reviewed by Zalan Bujtas.
FloatingObjects logging needs to use ENABLE(TREE_DEBUGGING) not #ifndef NDEBUG.
* rendering/FloatingObjects.cpp:
* rendering/FloatingObjects.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (273209 => 273210)
--- trunk/Source/WebCore/ChangeLog 2021-02-20 23:17:32 UTC (rev 273209)
+++ trunk/Source/WebCore/ChangeLog 2021-02-21 00:38:20 UTC (rev 273210)
@@ -1,3 +1,15 @@
+2021-02-20 Simon Fraser <[email protected]>
+
+ Fix the build when TREE_DEBUGGING is enabled in release builds
+ https://bugs.webkit.org/show_bug.cgi?id=222238
+
+ Reviewed by Zalan Bujtas.
+
+ FloatingObjects logging needs to use ENABLE(TREE_DEBUGGING) not #ifndef NDEBUG.
+
+ * rendering/FloatingObjects.cpp:
+ * rendering/FloatingObjects.h:
+
2021-02-20 Jiewen Tan <[email protected]>
PCM: Store and report source unlinkable tokens
Modified: trunk/Source/WebCore/rendering/FloatingObjects.cpp (273209 => 273210)
--- trunk/Source/WebCore/rendering/FloatingObjects.cpp 2021-02-20 23:17:32 UTC (rev 273209)
+++ trunk/Source/WebCore/rendering/FloatingObjects.cpp 2021-02-21 00:38:20 UTC (rev 273210)
@@ -107,7 +107,7 @@
return locationOffsetOfBorderBox() - renderer().locationOffset();
}
-#ifndef NDEBUG
+#if ENABLE(TREE_DEBUGGING)
TextStream& operator<<(TextStream& stream, const FloatingObject& object)
{
Modified: trunk/Source/WebCore/rendering/FloatingObjects.h (273209 => 273210)
--- trunk/Source/WebCore/rendering/FloatingObjects.h 2021-02-20 23:17:32 UTC (rev 273209)
+++ trunk/Source/WebCore/rendering/FloatingObjects.h 2021-02-21 00:38:20 UTC (rev 273210)
@@ -189,7 +189,7 @@
WeakPtr<const RenderBlockFlow> m_renderer;
};
-#ifndef NDEBUG
+#if ENABLE(TREE_DEBUGGING)
TextStream& operator<<(TextStream&, const FloatingObject&);
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes