Index: chrome/browser/renderer_host/render_widget_host_view_views.cc |
=================================================================== |
--- chrome/browser/renderer_host/render_widget_host_view_views.cc (revision 71884) |
+++ chrome/browser/renderer_host/render_widget_host_view_views.cc (working copy) |
@@ -696,7 +696,7 @@ |
// _PRESSED event. So find that. |
// At the moment, only a maximum of 4 touch-points are allowed. So a |
// simple loop should be sufficient. |
- for (int i = 0; i < touch_event_.touchPointsLength; ++i) { |
+ for (int i = 0; i < WebTouchEvent::touchPointsLengthCap; ++i) { |
point = touch_event_.touchPoints + i; |
if (point->id == e.identity()) { |
break; |