| Index: ui/web_dialogs/web_dialog_web_contents_delegate.cc
|
| diff --git a/ui/web_dialogs/web_dialog_web_contents_delegate.cc b/ui/web_dialogs/web_dialog_web_contents_delegate.cc
|
| index 36baa4c82c30f8c156b5cd2bff93345120930f87..2f21c77b68925e3424e002813facba60a279caa1 100644
|
| --- a/ui/web_dialogs/web_dialog_web_contents_delegate.cc
|
| +++ b/ui/web_dialogs/web_dialog_web_contents_delegate.cc
|
| @@ -60,9 +60,9 @@ bool WebDialogWebContentsDelegate::PreHandleGestureEvent(
|
| WebContents* source,
|
| const blink::WebGestureEvent& event) {
|
| // Disable pinch zooming.
|
| - return event.type == blink::WebGestureEvent::GesturePinchBegin ||
|
| - event.type == blink::WebGestureEvent::GesturePinchUpdate ||
|
| - event.type == blink::WebGestureEvent::GesturePinchEnd;
|
| + return event.type() == blink::WebGestureEvent::GesturePinchBegin ||
|
| + event.type() == blink::WebGestureEvent::GesturePinchUpdate ||
|
| + event.type() == blink::WebGestureEvent::GesturePinchEnd;
|
| }
|
|
|
| } // namespace ui
|
|
|