Code: bool GestureSequence::PinchUpdate(const TouchEvent& event,
     const GesturePoint& point, Gestures* gestures) {
   DCHECK(state_ == GS_PINCH);
   float distance = points_[0].Distance(points_[1]);
  if (abs(distance - pinch_distance_current_) < kMinimumPinchUpdateDistance) {
    if (!points_[0].DidScroll(event, kMinimumDistanceForPinchScroll) ||
        !points_[1].DidScroll(event, kMinimumDistanceForPinchScroll))
       return false;
 
     gfx::Point center = points_[0].last_touch_position().Middle(
                        points_[1].last_touch_position());
    AppendScrollGestureUpdate(point, center, gestures);
  } else {
    AppendPinchGestureUpdate(points_[0], points_[1],
        distance / pinch_distance_current_, gestures);
    pinch_distance_current_ = distance;
  }
  return true;
}

Vulnerability Type: DoS 
CWE ID: CWE-20
Summary: Google Chrome before 19.0.1084.46 does not properly handle Tibetan text, which allows remote attackers to cause a denial of service (out-of-bounds read) via unspecified vectors.
Commit Message: Add setters for the aura gesture recognizer constants.
BUG=113227
TEST=none


Review URL: http://codereview.chromium.org/9372040

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122586 0039d316-1c4b-4281-b951-d872f2087c98