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

Unified Diff: src/views/SkTouchGesture.cpp

Issue 695663003: Cleanup: Go with SkDebugf instead of GrPrintf. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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 | « src/gpu/gl/builders/GrGLShaderStringBuilder.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/views/SkTouchGesture.cpp
diff --git a/src/views/SkTouchGesture.cpp b/src/views/SkTouchGesture.cpp
index e6a8eaeec66ab19c607818141b1bf5196c2c0423..22c9434216bfae9fb781c7bf8d267acaf6523422 100644
--- a/src/views/SkTouchGesture.cpp
+++ b/src/views/SkTouchGesture.cpp
@@ -142,7 +142,7 @@ void SkTouchGesture::appendNewRec(void* owner, float x, float y) {
}
void SkTouchGesture::touchBegin(void* owner, float x, float y) {
-// GrPrintf("--- %d touchBegin %p %g %g\n", fTouches.count(), owner, x, y);
+// SkDebugf("--- %d touchBegin %p %g %g\n", fTouches.count(), owner, x, y);
int index = this->findRec(owner);
if (index >= 0) {
@@ -201,7 +201,7 @@ float SkTouchGesture::limitTotalZoom(float scale) const {
}
void SkTouchGesture::touchMoved(void* owner, float x, float y) {
-// GrPrintf("--- %d touchMoved %p %g %g\n", fTouches.count(), owner, x, y);
+// SkDebugf("--- %d touchMoved %p %g %g\n", fTouches.count(), owner, x, y);
if (kEmpty_State == fState) {
return;
@@ -220,7 +220,7 @@ void SkTouchGesture::touchMoved(void* owner, float x, float y) {
// not sure how valuable this is
if (fTouches.count() == 2) {
if (close_enough_for_jitter(rec.fLastX, rec.fLastY, x, y)) {
-// GrPrintf("--- drop touchMove, withing jitter tolerance %g %g\n", rec.fLastX - x, rec.fLastY - y);
+// SkDebugf("--- drop touchMove, withing jitter tolerance %g %g\n", rec.fLastX - x, rec.fLastY - y);
return;
}
}
@@ -257,7 +257,7 @@ void SkTouchGesture::touchMoved(void* owner, float x, float y) {
}
void SkTouchGesture::touchEnd(void* owner) {
-// GrPrintf("--- %d touchEnd %p\n", fTouches.count(), owner);
+// SkDebugf("--- %d touchEnd %p\n", fTouches.count(), owner);
int index = this->findRec(owner);
if (index < 0) {
« no previous file with comments | « src/gpu/gl/builders/GrGLShaderStringBuilder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698