Index: src/views/SkTouchGesture.cpp |
diff --git a/src/views/SkTouchGesture.cpp b/src/views/SkTouchGesture.cpp |
index 9b02417771e0f209e8e733a40e2d741640ca2620..e6a8eaeec66ab19c607818141b1bf5196c2c0423 100644 |
--- a/src/views/SkTouchGesture.cpp |
+++ b/src/views/SkTouchGesture.cpp |
@@ -203,7 +203,9 @@ 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); |
- SkASSERT(kEmpty_State != fState); |
+ if (kEmpty_State == fState) { |
+ return; |
+ } |
int index = this->findRec(owner); |
if (index < 0) { |