Index: third_party/WebKit/Source/core/editing/VisibleSelection.cpp |
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp |
index 49d1ab9561cc982d109b78a7d46d3bfa2ce91437..37e5d7aa98bf10b0099512da4b69acfc9b754e9e 100644 |
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp |
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp |
@@ -807,7 +807,8 @@ template <typename Strategy> |
void VisibleSelectionTemplate<Strategy>::showTreeForThis() const |
{ |
if (start().anchorNode()) { |
- start().anchorNode()->showTreeAndMark(start().anchorNode(), "S", end().anchorNode(), "E"); |
+ // TODO(tkent): Replace WTFLogAlways with something else. |
+ WTFLogAlways("%s", start().anchorNode()->toMarkedTreeString(start().anchorNode(), "S", end().anchorNode(), "E").utf8().data()); |
fputs("start: ", stderr); |
start().showAnchorTypeAndOffset(); |
fputs("end: ", stderr); |