Index: third_party/WebKit/Source/core/editing/Position.cpp |
diff --git a/third_party/WebKit/Source/core/editing/Position.cpp b/third_party/WebKit/Source/core/editing/Position.cpp |
index 2830559043f6c6e957371ad27ea83287b35b84d3..3cb68f58e0dffeead510713b5ce7495aaaedd64f 100644 |
--- a/third_party/WebKit/Source/core/editing/Position.cpp |
+++ b/third_party/WebKit/Source/core/editing/Position.cpp |
@@ -630,7 +630,8 @@ void PositionTemplate<Strategy>::showTreeForThis() const |
{ |
if (!anchorNode()) |
return; |
- anchorNode()->showTreeForThis(); |
+ // TODO(tkent): Replace WTFLogAlways with something else. |
+ WTFLogAlways("%s", anchorNode()->toTreeStringForThis().utf8().data()); |
showAnchorTypeAndOffset(); |
} |
@@ -639,7 +640,8 @@ void PositionTemplate<Strategy>::showTreeForThisInFlatTree() const |
{ |
if (!anchorNode()) |
return; |
- anchorNode()->showTreeForThisInFlatTree(); |
+ // TODO(tkent): Replace WTFLogAlways with something else. |
+ WTFLogAlways("%s", anchorNode()->toFlatTreeStringForThis().utf8().data()); |
showAnchorTypeAndOffset(); |
} |