Index: chrome/browser/chromeos/login/ui/webui_login_view.cc |
diff --git a/chrome/browser/chromeos/login/ui/webui_login_view.cc b/chrome/browser/chromeos/login/ui/webui_login_view.cc |
index 651154109e97982b86062f82ff7b6f500e5c4966..c66f591287dd022d3db81c5d9780cff0b6733667 100644 |
--- a/chrome/browser/chromeos/login/ui/webui_login_view.cc |
+++ b/chrome/browser/chromeos/login/ui/webui_login_view.cc |
@@ -552,9 +552,7 @@ bool WebUILoginView::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()); |
} |
void WebUILoginView::OnFocusOut(bool reverse) { |