Title: [261939] trunk/Source/WebCore
- Revision
- 261939
- Author
- [email protected]
- Date
- 2020-05-20 11:49:58 -0700 (Wed, 20 May 2020)
Log Message
Move the TextStream logging definition in VisibleSelection.cpp to the outside of the TREE_DEBUGGING guard
https://bugs.webkit.org/show_bug.cgi?id=212127
Reviewed by Simon Fraser.
A linking failure occurs after r261819 where ENABLE_TREE_DEBUGGING is disabled.
The TextStream logging defining is placed inside the guard while its declaration is not since r218976.
Build fix, no functionality changed.
* editing/VisibleSelection.cpp:
(WebCore::operator<<):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (261938 => 261939)
--- trunk/Source/WebCore/ChangeLog 2020-05-20 18:48:49 UTC (rev 261938)
+++ trunk/Source/WebCore/ChangeLog 2020-05-20 18:49:58 UTC (rev 261939)
@@ -1,3 +1,18 @@
+2020-05-20 ChangSeok Oh <[email protected]>
+
+ Move the TextStream logging definition in VisibleSelection.cpp to the outside of the TREE_DEBUGGING guard
+ https://bugs.webkit.org/show_bug.cgi?id=212127
+
+ Reviewed by Simon Fraser.
+
+ A linking failure occurs after r261819 where ENABLE_TREE_DEBUGGING is disabled.
+ The TextStream logging defining is placed inside the guard while its declaration is not since r218976.
+
+ Build fix, no functionality changed.
+
+ * editing/VisibleSelection.cpp:
+ (WebCore::operator<<):
+
2020-05-20 Andres Gonzalez <[email protected]>
Fix for accessibility-node-memory-management.html in isolated tree mode.
Modified: trunk/Source/WebCore/editing/VisibleSelection.cpp (261938 => 261939)
--- trunk/Source/WebCore/editing/VisibleSelection.cpp 2020-05-20 18:48:49 UTC (rev 261938)
+++ trunk/Source/WebCore/editing/VisibleSelection.cpp 2020-05-20 18:49:58 UTC (rev 261939)
@@ -734,22 +734,22 @@
end().showAnchorTypeAndOffset();
}
}
-
+
+#endif
+
TextStream& operator<<(TextStream& stream, const VisibleSelection& v)
{
TextStream::GroupScope scope(stream);
stream << "VisibleSelection " << &v;
-
+
stream.dumpProperty("base", v.base());
stream.dumpProperty("extent", v.extent());
stream.dumpProperty("start", v.start());
stream.dumpProperty("end", v.end());
-
+
return stream;
}
-#endif
-
} // namespace WebCore
#if ENABLE(TREE_DEBUGGING)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes