Index: chrome/browser/ui/app_list/start_page_service.cc |
diff --git a/chrome/browser/ui/app_list/start_page_service.cc b/chrome/browser/ui/app_list/start_page_service.cc |
index 0a1eb6480ace81830294d35fb889382b0c639ff1..be92c2f33b25a5f59b22d9491375b429caf04b75 100644 |
--- a/chrome/browser/ui/app_list/start_page_service.cc |
+++ b/chrome/browser/ui/app_list/start_page_service.cc |
@@ -195,9 +195,7 @@ class StartPageService::StartPageWebContentsDelegate |
bool PreHandleGestureEvent(content::WebContents* /*source*/, |
const blink::WebGestureEvent& event) override { |
// Disable pinch zooming on the start page web contents. |
- return event.GetType() == blink::WebGestureEvent::kGesturePinchBegin || |
- event.GetType() == blink::WebGestureEvent::kGesturePinchUpdate || |
- event.GetType() == blink::WebGestureEvent::kGesturePinchEnd; |
+ return blink::WebInputEvent::IsPinchGestureEventType(event.GetType()); |
} |