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

Side by Side Diff: third_party/WebKit/Source/core/dom/Range.cpp

Issue 2295363003: Remove WTFLogAlways usage in Range.cpp. (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999 Lars Knoll (knoll@kde.org) 2 * (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no) 3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no)
4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no) 4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no)
5 * (C) 2001 Peter Kelly (pmk@post.com) 5 * (C) 2001 Peter Kelly (pmk@post.com)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
7 * Copyright (C) 2011 Motorola Mobility. All rights reserved. 7 * Copyright (C) 2011 Motorola Mobility. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 1550 matching lines...) Expand 10 before | Expand all | Expand 10 after
1561 visitor->trace(m_end); 1561 visitor->trace(m_end);
1562 } 1562 }
1563 1563
1564 } // namespace blink 1564 } // namespace blink
1565 1565
1566 #ifndef NDEBUG 1566 #ifndef NDEBUG
1567 1567
1568 void showTree(const blink::Range* range) 1568 void showTree(const blink::Range* range)
1569 { 1569 {
1570 if (range && range->boundaryPointsValid()) { 1570 if (range && range->boundaryPointsValid()) {
1571 // TODO(tkent): Replace WTFLogAlways with something else. 1571 LOG(INFO) << "\n"
1572 WTFLogAlways("%s", range->startContainer()->toMarkedTreeString(range->st artContainer(), "S", range->endContainer(), "E").utf8().data()); 1572 << range->startContainer()->toMarkedTreeString(range->startContainer (), "S", range->endContainer(), "E").utf8().data()
1573 fprintf(stderr, "start offset: %d, end offset: %d\n", range->startOffset (), range->endOffset()); 1573 << "start offset: " << range->startOffset() << ", end offset: " << r ange->endOffset();
1574 } else { 1574 } else {
1575 fprintf(stderr, "Cannot show tree if range is null, or if boundary point s are invalid.\n"); 1575 LOG(INFO) << "Cannot show tree if range is null, or if boundary points a re invalid.";
1576 } 1576 }
1577 } 1577 }
1578 1578
1579 #endif 1579 #endif
OLDNEW
« 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