Index: content/common/input/web_touch_event_traits.cc |
diff --git a/content/common/input/web_touch_event_traits.cc b/content/common/input/web_touch_event_traits.cc |
index 031d4e10305599a480851553795873c5663ae88a..dbd0630f3a17fa443d6e1a274d7030e377c4f0bd 100644 |
--- a/content/common/input/web_touch_event_traits.cc |
+++ b/content/common/input/web_touch_event_traits.cc |
@@ -54,11 +54,11 @@ void WebTouchEventTraits::ResetType(WebInputEvent::Type type, |
DCHECK(WebInputEvent::isTouchEventType(type)); |
DCHECK(type != WebInputEvent::TouchScrollStarted); |
- event->type = type; |
+ event->setType(type); |
event->dispatchType = type == WebInputEvent::TouchCancel |
? WebInputEvent::EventNonBlocking |
: WebInputEvent::Blocking; |
- event->timeStampSeconds = timestamp_sec; |
+ event->setTimeStampSeconds(timestamp_sec); |
} |
void WebTouchEventTraits::ResetTypeAndTouchStates(WebInputEvent::Type type, |