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-06-19 14:00:39 +00:00
2017-11-21 20:48: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
2017-11-22 11:14:37 +00:00
2017-11-13 10:58:42 +00:00
2018-07-05 10:59:49 +00:00
2017-10-31 13:32:22 +00:00
2018-06-21 15:57:43 +00:00
2018-06-21 15:57:43 +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-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2017-11-09 14:29:12 +00:00
2018-07-02 23:38:41 +00:00
2017-11-09 14:29:12 +00:00
2018-07-02 23:38:41 +00:00
2017-11-18 10:48:28 +00:00
2018-01-29 20:37:59 +00:00
2018-01-29 20:37:59 +00:00
2018-01-29 20:37:59 +00:00
2018-01-09 13:45:20 +00:00
2018-06-19 14:00:39 +00:00
2018-07-03 15:00:33 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-16 07:09:59 +00:00
2018-06-19 14:00:39 +00:00
2018-05-23 13:56:40 +00:00
2018-07-05 10:59:49 +00:00
2018-06-21 15:57:43 +00:00
2018-06-21 15:57:43 +00:00
2018-07-04 09:25:21 +00:00
2018-06-21 15:57:43 +00:00
2018-05-28 12:30:19 +00:00
2018-05-28 12:30:19 +00:00
2018-05-28 12:30:19 +00:00
2018-05-30 14:17:11 +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
2017-10-31 17:46:42 +00:00
2018-06-19 14:00:39 +00:00
2017-10-31 17:46:42 +00:00
2017-10-30 22:52:59 +00:00
2017-10-31 17:46:42 +00:00
2017-09-29 12:22:57 +00:00
2017-10-31 17:46:42 +00:00
2018-07-04 06:59:45 +00:00
2018-06-25 10:10:48 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-27 10:33:40 +00:00
2018-06-19 14:00:39 +00:00