| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index b90a58b1a09438f941058bf0205facebf41dda66..37eb2fce4c06bb59c14568cffbd436c61578f3fa 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -696,11 +696,11 @@
|
| fling_source_device_ = event.source_device;
|
| DCHECK_NE(fling_source_device_, kWebGestureDeviceUninitialized);
|
| std::unique_ptr<WebGestureCurve> fling_curve =
|
| - Platform::Current()->CreateFlingAnimationCurve(
|
| + WTF::WrapUnique(Platform::Current()->CreateFlingAnimationCurve(
|
| event.source_device,
|
| WebFloatPoint(event.data.fling_start.velocity_x,
|
| event.data.fling_start.velocity_y),
|
| - WebSize());
|
| + WebSize()));
|
| DCHECK(fling_curve);
|
| gesture_animation_ = WebActiveGestureAnimation::CreateAtAnimationStart(
|
| std::move(fling_curve), this);
|
| @@ -1008,9 +1008,9 @@
|
| global_position_on_fling_start_ = parameters.global_point;
|
| fling_modifier_ = parameters.modifiers;
|
| std::unique_ptr<WebGestureCurve> curve =
|
| - Platform::Current()->CreateFlingAnimationCurve(
|
| + WTF::WrapUnique(Platform::Current()->CreateFlingAnimationCurve(
|
| parameters.source_device, WebFloatPoint(parameters.delta),
|
| - parameters.cumulative_scroll);
|
| + parameters.cumulative_scroll));
|
| DCHECK(curve);
|
| gesture_animation_ = WebActiveGestureAnimation::CreateWithTimeOffset(
|
| std::move(curve), this, parameters.start_time);
|
|
|