| Index: extensions/browser/app_window/app_web_contents_helper.cc
|
| diff --git a/extensions/browser/app_window/app_web_contents_helper.cc b/extensions/browser/app_window/app_web_contents_helper.cc
|
| index 1dbbcd0df739611f6376d95b027712af8f9c6ef3..7c5e4900ea2cb881c2e8b60008396f838ffb81ac 100644
|
| --- a/extensions/browser/app_window/app_web_contents_helper.cc
|
| +++ b/extensions/browser/app_window/app_web_contents_helper.cc
|
| @@ -33,9 +33,9 @@ AppWebContentsHelper::AppWebContentsHelper(
|
| bool AppWebContentsHelper::ShouldSuppressGestureEvent(
|
| const blink::WebGestureEvent& event) {
|
| // Disable pinch zooming in app windows.
|
| - 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;
|
| }
|
|
|
| content::WebContents* AppWebContentsHelper::OpenURLFromTab(
|
|
|