Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Unified Diff: third_party/WebKit/Source/core/dom/Range.cpp

Issue 2295363003: Remove WTFLogAlways usage in Range.cpp. (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Range.cpp
diff --git a/third_party/WebKit/Source/core/dom/Range.cpp b/third_party/WebKit/Source/core/dom/Range.cpp
index e49ac61966b8b1cbaf67c0e9cfafd5a767499c5c..c6b8dc7e601b746d9d5298369075cce71a8f3573 100644
--- a/third_party/WebKit/Source/core/dom/Range.cpp
+++ b/third_party/WebKit/Source/core/dom/Range.cpp
@@ -1568,11 +1568,11 @@ DEFINE_TRACE(Range)
void showTree(const blink::Range* range)
{
if (range && range->boundaryPointsValid()) {
- // TODO(tkent): Replace WTFLogAlways with something else.
- WTFLogAlways("%s", range->startContainer()->toMarkedTreeString(range->startContainer(), "S", range->endContainer(), "E").utf8().data());
- fprintf(stderr, "start offset: %d, end offset: %d\n", range->startOffset(), range->endOffset());
+ LOG(INFO) << "\n"
+ << range->startContainer()->toMarkedTreeString(range->startContainer(), "S", range->endContainer(), "E").utf8().data()
+ << "start offset: " << range->startOffset() << ", end offset: " << range->endOffset();
} else {
- fprintf(stderr, "Cannot show tree if range is null, or if boundary points are invalid.\n");
+ LOG(INFO) << "Cannot show tree if range is null, or if boundary points are invalid.";
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698