| Index: content/browser/renderer_host/input/synthetic_gesture.cc
|
| diff --git a/content/browser/renderer_host/input/synthetic_gesture.cc b/content/browser/renderer_host/input/synthetic_gesture.cc
|
| index b334af104d550d88e052506920b45d32a7affe42..cbe9e14566ca9d67adb711f9131d4360dacad501 100644
|
| --- a/content/browser/renderer_host/input/synthetic_gesture.cc
|
| +++ b/content/browser/renderer_host/input/synthetic_gesture.cc
|
| @@ -43,12 +43,10 @@ std::unique_ptr<SyntheticGesture> SyntheticGesture::Create(
|
| case SyntheticGestureParams::TAP_GESTURE:
|
| return CreateGesture<SyntheticTapGesture,
|
| SyntheticTapGestureParams>(gesture_params);
|
| - case SyntheticGestureParams::POINTER_ACTION:
|
| - return CreateGesture<SyntheticPointerAction,
|
| - SyntheticPointerActionParams>(gesture_params);
|
| + default:
|
| + NOTREACHED() << "Invalid synthetic gesture type";
|
| + return nullptr;
|
| }
|
| - NOTREACHED() << "Invalid synthetic gesture type";
|
| - return std::unique_ptr<SyntheticGesture>();
|
| }
|
|
|
| } // namespace content
|
|
|