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

Unified Diff: third_party/WebKit/Source/core/editing/VisibleSelection.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
« no previous file with comments | « third_party/WebKit/Source/core/editing/VisibleSelection.h ('k') | 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/editing/VisibleSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
index 852c7aee652b1d9f92af7e7b6884f14994bc7489..e564474233eeb04e68710fe39901b9529c4198af 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
@@ -782,28 +782,6 @@ bool VisibleSelectionTemplate<Strategy>::operator==(const VisibleSelectionTempla
#ifndef NDEBUG
template <typename Strategy>
-void VisibleSelectionTemplate<Strategy>::debugPosition(const char* message) const
-{
- fprintf(stderr, "VisibleSelection (%s) ===============\n", message);
-
- if (m_baseIsFirst) {
- m_start.debugPosition("start: ");
- m_base.debugPosition("base: ");
- m_end.debugPosition("end: ");
- m_extent.debugPosition("extent: ");
- } else {
- m_start.debugPosition("start: ");
- m_extent.debugPosition("extent: ");
- m_end.debugPosition("end: ");
- m_base.debugPosition("base: ");
- }
-
- fprintf(stderr, "isDirectional=%s\n", isDirectional() ? "true" : "false");
- fprintf(stderr, "affinity=%s\n", affinity() == TextAffinity::Downstream ? "DOWNSTREaM" : affinity() == TextAffinity::Upstream ? "UPSTREAM" : "UNKNOWN");
- fprintf(stderr, "================================\n");
-}
-
-template <typename Strategy>
void VisibleSelectionTemplate<Strategy>::showTreeForThis() const
{
if (!start().anchorNode())
« no previous file with comments | « third_party/WebKit/Source/core/editing/VisibleSelection.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698