| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 87bda12a8864d1a21c8cc277d822862a03c026f2..e9ad8024a3152aa7544e538996468649513da609 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -564,7 +564,6 @@ Browser::~Browser() {
|
| // away so they don't try and call back to us.
|
| if (select_file_dialog_.get())
|
| select_file_dialog_->ListenerDestroyed();
|
| -
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
| @@ -1310,10 +1309,7 @@ bool Browser::PreHandleGestureEvent(content::WebContents* source,
|
| const blink::WebGestureEvent& event) {
|
| // Disable pinch zooming in undocked dev tools window due to poor UX.
|
| if (app_name() == DevToolsWindow::kDevToolsApp)
|
| - return event.GetType() == blink::WebGestureEvent::kGesturePinchBegin ||
|
| - event.GetType() == blink::WebGestureEvent::kGesturePinchUpdate ||
|
| - event.GetType() == blink::WebGestureEvent::kGesturePinchEnd;
|
| -
|
| + return blink::WebInputEvent::IsPinchGestureEventType(event.GetType());
|
| return false;
|
| }
|
|
|
|
|