Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Unified Diff: content/renderer/input/input_handler_wrapper.cc

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix content_shell compilation Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/input/input_handler_wrapper.cc
diff --git a/content/renderer/input/input_handler_wrapper.cc b/content/renderer/input/input_handler_wrapper.cc
index b994f09095060872733be792600614c5c8d1c876..2e64cdbc13018850129b4103fcbae627c2728aae 100644
--- a/content/renderer/input/input_handler_wrapper.cc
+++ b/content/renderer/input/input_handler_wrapper.cc
@@ -61,7 +61,8 @@ void InputHandlerWrapper::WillShutdown() {
input_handler_manager_->RemoveInputHandler(routing_id_);
}
-blink::WebGestureCurve* InputHandlerWrapper::CreateFlingAnimationCurve(
+std::unique_ptr<blink::WebGestureCurve>
+InputHandlerWrapper::CreateFlingAnimationCurve(
blink::WebGestureDevice deviceSource,
const blink::WebFloatPoint& velocity,
const blink::WebSize& cumulative_scroll) {

Powered by Google App Engine
This is Rietveld 408576698