Title: [269181] trunk/Source/WebCore
- Revision
- 269181
- Author
- [email protected]
- Date
- 2020-10-30 03:27:46 -0700 (Fri, 30 Oct 2020)
Log Message
Fix build error with release build with -DLOG_DISABLED=0
https://bugs.webkit.org/show_bug.cgi?id=218338
Add the proper ifdefs to solve it.
Patch by Alejandro G. Castro <[email protected]> on 2020-10-30
Reviewed by Adrian Perez de Castro.
* display/DisplayTreeBuilder.cpp:
(WebCore::Display::TreeBuilder::build const):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (269180 => 269181)
--- trunk/Source/WebCore/ChangeLog 2020-10-30 10:27:22 UTC (rev 269180)
+++ trunk/Source/WebCore/ChangeLog 2020-10-30 10:27:46 UTC (rev 269181)
@@ -1,3 +1,15 @@
+2020-10-30 Alejandro G. Castro <[email protected]>
+
+ Fix build error with release build with -DLOG_DISABLED=0
+ https://bugs.webkit.org/show_bug.cgi?id=218338
+
+ Add the proper ifdefs to solve it.
+
+ Reviewed by Adrian Perez de Castro.
+
+ * display/DisplayTreeBuilder.cpp:
+ (WebCore::Display::TreeBuilder::build const):
+
2020-10-30 Miguel Gomez <[email protected]>
[GTK] Direct composited images may not be rendered after a window resize
Modified: trunk/Source/WebCore/display/DisplayTreeBuilder.cpp (269180 => 269181)
--- trunk/Source/WebCore/display/DisplayTreeBuilder.cpp 2020-10-30 10:27:22 UTC (rev 269180)
+++ trunk/Source/WebCore/display/DisplayTreeBuilder.cpp 2020-10-30 10:27:46 UTC (rev 269181)
@@ -57,7 +57,9 @@
auto& rootLayoutBox = layoutState.root();
+#if ENABLE(TREE_DEBUGGING)
LOG_WITH_STREAM(FormattingContextLayout, stream << "Building display tree for:\n" << layoutTreeAsText(rootLayoutBox, &layoutState));
+#endif
auto geometry = layoutState.geometryForBox(rootLayoutBox);
auto rootDisplayBox = m_boxFactory.displayBoxForRootBox(rootLayoutBox, geometry);
@@ -72,7 +74,9 @@
recursiveBuildDisplayTree(layoutState, offset, *rootLayoutBox.firstChild(), insertionPosition);
+#if ENABLE(TREE_DEBUGGING)
LOG_WITH_STREAM(FormattingContextLayout, stream << "Display tree:\n" << displayTreeAsText(*rootDisplayContainerBox));
+#endif
return makeUnique<Tree>(WTFMove(rootDisplayContainerBox));
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes