| 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 37e5d7aa98bf10b0099512da4b69acfc9b754e9e..852c7aee652b1d9f92af7e7b6884f14994bc7489 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| @@ -806,14 +806,12 @@ void VisibleSelectionTemplate<Strategy>::debugPosition(const char* message) cons
|
| template <typename Strategy>
|
| void VisibleSelectionTemplate<Strategy>::showTreeForThis() const
|
| {
|
| - if (start().anchorNode()) {
|
| - // 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);
|
| - end().showAnchorTypeAndOffset();
|
| - }
|
| + if (!start().anchorNode())
|
| + return;
|
| + LOG(INFO) << "\n"
|
| + << start().anchorNode()->toMarkedTreeString(start().anchorNode(), "S", end().anchorNode(), "E").utf8().data()
|
| + << "start: " << start().toAnchorTypeAndOffsetString().utf8().data() << "\n"
|
| + << "end: " << end().toAnchorTypeAndOffsetString().utf8().data();
|
| }
|
|
|
| #endif
|
|
|