| Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| index 8e0b76ba4a2eec9f7684f10167f703f1ae216abf..68f1e2044349b41e8374a5ea5805129ae545ee64 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| @@ -167,10 +167,10 @@ class TapHandlingWebViewClient : public FrameTestHelpers::TestWebViewClient {
|
| // WebViewClient methods
|
| void didHandleGestureEvent(const WebGestureEvent& event,
|
| bool eventCancelled) override {
|
| - if (event.type == WebInputEvent::GestureTap) {
|
| + if (event.type() == WebInputEvent::GestureTap) {
|
| m_tapX = event.x;
|
| m_tapY = event.y;
|
| - } else if (event.type == WebInputEvent::GestureLongPress) {
|
| + } else if (event.type() == WebInputEvent::GestureLongPress) {
|
| m_longpressX = event.x;
|
| m_longpressY = event.y;
|
| }
|
|
|