Index: chrome/browser/chromeos/first_run/first_run_view.cc |
diff --git a/chrome/browser/chromeos/first_run/first_run_view.cc b/chrome/browser/chromeos/first_run/first_run_view.cc |
index a027d840739ebe88be4a69e9603e1e076ecd407a..a14fd00076c316e744fc1c8b0e8ac366c792894d 100644 |
--- a/chrome/browser/chromeos/first_run/first_run_view.cc |
+++ b/chrome/browser/chromeos/first_run/first_run_view.cc |
@@ -63,9 +63,7 @@ bool FirstRunView::PreHandleGestureEvent( |
content::WebContents* source, |
const blink::WebGestureEvent& event) { |
// Disable pinch zooming. |
- return event.GetType() == blink::WebGestureEvent::kGesturePinchBegin || |
- event.GetType() == blink::WebGestureEvent::kGesturePinchUpdate || |
- event.GetType() == blink::WebGestureEvent::kGesturePinchEnd; |
+ return blink::WebInputEvent::IsPinchGestureEventType(event.GetType()); |
} |
} // namespace chromeos |