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

Unified Diff: third_party/WebKit/Source/core/editing/VisiblePosition.cpp

Issue 2291423002: Remove debugPosition() functions. (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
Index: third_party/WebKit/Source/core/editing/VisiblePosition.cpp
diff --git a/third_party/WebKit/Source/core/editing/VisiblePosition.cpp b/third_party/WebKit/Source/core/editing/VisiblePosition.cpp
index 861df0fda69e603ee95965c592be208340ed524f..96df893fd0da153e1c29f0650eae693f937bc1a1 100644
--- a/third_party/WebKit/Source/core/editing/VisiblePosition.cpp
+++ b/third_party/WebKit/Source/core/editing/VisiblePosition.cpp
@@ -134,16 +134,6 @@ VisiblePositionInFlatTree createVisiblePosition(const PositionInFlatTreeWithAffi
#ifndef NDEBUG
template<typename Strategy>
-void VisiblePositionTemplate<Strategy>::debugPosition(const char* msg) const
-{
- if (isNull()) {
- fprintf(stderr, "Position [%s]: null\n", msg);
- return;
- }
- deepEquivalent().debugPosition(msg);
-}
-
-template<typename Strategy>
void VisiblePositionTemplate<Strategy>::showTreeForThis() const
{
deepEquivalent().showTreeForThis();
« no previous file with comments | « third_party/WebKit/Source/core/editing/VisiblePosition.h ('k') | third_party/WebKit/Source/core/editing/VisibleSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698