| Index: third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebInputEventConversion.cpp b/third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| index db569d16f7007953d0e7290e20f6581f69fa401b..d07463b79a6b91a51122040a821d0a320828ad86 100644
|
| --- a/third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| +++ b/third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
| @@ -718,7 +718,7 @@ static void addTouchPointsUpdateStateIfNecessary(WebTouchPoint::State state, Tou
|
| unsigned initialTouchPointsLength = *touchPointsLength;
|
| for (unsigned i = 0; i < touches->length(); ++i) {
|
| const unsigned pointIndex = *touchPointsLength;
|
| - if (pointIndex >= static_cast<unsigned>(WebTouchEvent::touchesLengthCap))
|
| + if (pointIndex >= static_cast<unsigned>(WebTouchEvent::kTouchesLengthCap))
|
| return;
|
|
|
| const Touch* touch = touches->item(i);
|
| @@ -754,7 +754,7 @@ WebTouchEventBuilder::WebTouchEventBuilder(const LayoutItem layoutItem, const To
|
| movedBeyondSlopRegion = event.causesScrollingIfUncanceled();
|
|
|
| // Currently touches[] is empty, add stationary points as-is.
|
| - for (unsigned i = 0; i < event.touches()->length() && i < static_cast<unsigned>(WebTouchEvent::touchesLengthCap); ++i) {
|
| + for (unsigned i = 0; i < event.touches()->length() && i < static_cast<unsigned>(WebTouchEvent::kTouchesLengthCap); ++i) {
|
| touches[i] = toWebTouchPoint(event.touches()->item(i), layoutItem, WebTouchPoint::StateStationary);
|
| ++touchesLength;
|
| }
|
|
|