| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index 34c08f67465c7aeac601033d0a4edcae7d247af6..67cf02fbb7bcaac2202668930a942bf07a437695 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1233,7 +1233,7 @@ bool WebContentsImpl::HandleGestureEvent(
|
| // Some platforms (eg. Mac) send GesturePinch events for trackpad pinch-zoom.
|
| // Use them to implement browser zoom, as for HandleWheelEvent above.
|
| if (event.type == blink::WebInputEvent::GesturePinchUpdate &&
|
| - event.sourceDevice == blink::WebGestureEvent::Touchpad) {
|
| + event.sourceDevice == blink::WebGestureDeviceTouchpad) {
|
| // The scale difference necessary to trigger a zoom action. Derived from
|
| // experimentation to find a value that feels reasonable.
|
| const float kZoomStepValue = 0.6f;
|
|
|