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

Unified Diff: content/browser/renderer_host/input/touch_event_queue_unittest.cc

Issue 2173073003: Move WebInputEvent into public/platform from public/web (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn build failure with android Created 4 years, 5 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
Index: content/browser/renderer_host/input/touch_event_queue_unittest.cc
diff --git a/content/browser/renderer_host/input/touch_event_queue_unittest.cc b/content/browser/renderer_host/input/touch_event_queue_unittest.cc
index 84f7560ba26187a6a687ef7fc07206ad3aadddc0..d5dccf416aca7c80ca10740856661d18c74fd26d 100644
--- a/content/browser/renderer_host/input/touch_event_queue_unittest.cc
+++ b/content/browser/renderer_host/input/touch_event_queue_unittest.cc
@@ -189,7 +189,7 @@ class TouchEventQueueTest : public testing::Test,
void ChangeTouchPointRadius(int index, float radius_x, float radius_y) {
CHECK_GE(index, 0);
- CHECK_LT(index, touch_event_.touchesLengthCap);
+ CHECK_LT(index, touch_event_.kTouchesLengthCap);
WebTouchPoint& point = touch_event_.touches[index];
point.radiusX = radius_x;
point.radiusY = radius_y;
@@ -203,7 +203,7 @@ class TouchEventQueueTest : public testing::Test,
void ChangeTouchPointRotationAngle(int index, float rotation_angle) {
CHECK_GE(index, 0);
- CHECK_LT(index, touch_event_.touchesLengthCap);
+ CHECK_LT(index, touch_event_.kTouchesLengthCap);
WebTouchPoint& point = touch_event_.touches[index];
point.rotationAngle = rotation_angle;
touch_event_.touches[index].state = WebTouchPoint::StateMoved;
@@ -216,7 +216,7 @@ class TouchEventQueueTest : public testing::Test,
void ChangeTouchPointForce(int index, float force) {
CHECK_GE(index, 0);
- CHECK_LT(index, touch_event_.touchesLengthCap);
+ CHECK_LT(index, touch_event_.kTouchesLengthCap);
WebTouchPoint& point = touch_event_.touches[index];
point.force = force;
touch_event_.touches[index].state = WebTouchPoint::StateMoved;

Powered by Google App Engine
This is Rietveld 408576698