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

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

Issue 2253053003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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_event_filter.cc
diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
index b93719dc209a5323e6eb201aed1407889f6765e1..d90fd3b0f7aef229a52b19a72ec482ec5ea8e9cb 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -100,7 +100,7 @@ void InputEventFilter::DidStartFlinging(int routing_id) {
void InputEventFilter::DidStopFlinging(int routing_id) {
SetIsFlingingInMainThreadEventQueue(routing_id, false);
- SendMessage(base::WrapUnique(new InputHostMsg_DidStopFlinging(routing_id)));
+ SendMessage(base::MakeUnique<InputHostMsg_DidStopFlinging>(routing_id));
}
void InputEventFilter::NotifyInputEventHandled(int routing_id,
« no previous file with comments | « content/renderer/history_controller.cc ('k') | content/renderer/media/android/media_player_renderer_client_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698