WTF:MakeUnique has been removed (via crbug.com/755727 ).
I'm working on MakeUnique now.
Some stats:
# Expected CLs Summary:
# CL #1 - bindings + controller + modules: 75 lines.
# CL #2 - core/audio + core/layout: 105 lines.
# CL #3 - platform/graphics: 98 lines.
# CL #4 - core/*remaining*: 51 lines.
# CL #5 - platform/*remaining*: 37 lines.
# Number of affected files:
$ ack-grep --type=cpp -l -w 'WTF::WrapUnique' ./third_party/WebKit/Source/ | wc -l
366
# Number of lines affected:
$ ack-grep --type=cpp -w 'WTF::WrapUnique' ./third_party/WebKit/Source/ |wc -l
629
I'm working on clang refactoring tool to change from WTF::WrapUnique() to std::make_unique<>() style, because this is a bit trickier to get right with sed cmd.
I've abandoned the clang refactoring too approach because it was getting too complicated. Specially because not all calls can be converted to make_unique due to private constructor.
CL #1 out for review.
https://chromium-review.googlesource.com/c/chromium/src/+/795753
Comment 1 by slangley@chromium.org
, Nov 5 2017