| Index: ui/events/blink/web_input_event_traits.cc
|
| diff --git a/ui/events/blink/web_input_event_traits.cc b/ui/events/blink/web_input_event_traits.cc
|
| index 58d95c9e2f3d75c41e38644a9ce096f60c813cea..dddf765967e0f70244e74fbff46b3a9624a94adb 100644
|
| --- a/ui/events/blink/web_input_event_traits.cc
|
| +++ b/ui/events/blink/web_input_event_traits.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/strings/stringprintf.h"
|
| +#include "third_party/WebKit/public/platform/WebGestureEvent.h"
|
| +#include "third_party/WebKit/public/platform/WebMouseWheelEvent.h"
|
|
|
| using base::StringAppendF;
|
| using base::SStringPrintf;
|
| @@ -254,7 +256,7 @@ uint32_t WebInputEventTraits::GetUniqueTouchEventId(
|
|
|
| // static
|
| LatencyInfo WebInputEventTraits::CreateLatencyInfoForWebGestureEvent(
|
| - WebGestureEvent event) {
|
| + const WebGestureEvent& event) {
|
| SourceEventType source_event_type = SourceEventType::UNKNOWN;
|
| if (event.sourceDevice == blink::WebGestureDevice::WebGestureDeviceTouchpad) {
|
| source_event_type = SourceEventType::WHEEL;
|
|
|