Karl Wiberg
918f50c5d1
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 10:59:49 +00:00
..
2018-07-05 10:59:49 +00:00
2017-11-28 21:29:18 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-03-29 02:45:17 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 20:55:07 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-03-30 18:41:19 +00:00
2018-05-18 17:07:16 +00:00
2018-07-04 10:35:27 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-05-18 17:07:16 +00:00
2018-07-05 10:59:49 +00:00
2018-06-12 20:32:00 +00:00
2018-06-19 20:55:07 +00:00
2018-06-20 21:00:10 +00:00
2018-06-20 21:00:10 +00:00
2018-06-20 21:00:10 +00:00
2018-06-19 14:00:39 +00:00
2017-12-12 09:27:07 +00:00
2018-06-28 12:52:07 +00:00
2018-06-19 14:00:39 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 20:55:07 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 14:00:39 +00:00
2018-06-04 08:19:30 +00:00
2018-01-22 17:32:58 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-03 20:39:17 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-06-28 12:52:07 +00:00
2018-07-05 10:59:49 +00:00
2018-06-28 12:40:07 +00:00
2018-07-05 10:59:49 +00:00
2018-06-28 12:40:07 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 20:55:07 +00:00
2018-07-05 10:59:49 +00:00
2018-05-30 09:17:17 +00:00
2018-06-19 14:00:39 +00:00
2018-07-05 10:59:49 +00:00
2018-01-18 19:01:38 +00:00
2018-06-19 14:00:39 +00:00
2017-12-20 00:21:52 +00:00
2018-07-04 10:35:27 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 20:55:07 +00:00
2018-03-12 10:54:09 +00:00
2018-03-19 15:32:16 +00:00
2018-03-12 10:54:09 +00:00
2018-01-27 02:20:29 +00:00
2018-01-27 02:20:29 +00:00
2018-05-03 10:41:41 +00:00
2018-06-28 12:40:07 +00:00
2018-06-28 12:40:07 +00:00
2018-06-28 12:40:07 +00:00
2018-05-23 15:42:10 +00:00
2018-06-19 20:55:07 +00:00
2018-06-25 21:01:02 +00:00
2018-06-25 21:01:02 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-04-14 00:57:11 +00:00
2018-04-14 00:57:11 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-05 10:59:49 +00:00
2017-12-20 00:21:52 +00:00
2017-12-22 00:17:53 +00:00
2018-02-01 21:17:41 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-07-05 10:59:49 +00:00
2018-06-14 18:35:11 +00:00
2018-05-21 19:35:08 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 20:55:07 +00:00
2018-07-05 10:59:49 +00:00
2018-07-02 17:59:11 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-02-23 00:13:45 +00:00
2018-02-23 00:13:45 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-05-23 15:42:10 +00:00
2017-10-30 18:08:29 +00:00
2018-06-11 19:15:10 +00:00
2018-06-19 20:55:07 +00:00
2018-07-04 10:35:27 +00:00
2018-06-21 15:49:43 +00:00
2018-02-01 21:17:41 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 14:00:39 +00:00