DescriptionRemove the use of OwnedPtrDeleter in HarfBuzzFace.
It's hard to mechanically replace specializations of OwnedPtrDeleter<T>
to std::unique_ptr equivalents. Therefore, they are converted to
std::unique_ptr manually.
The specializations in HarfBuzzFace.h are only used from
HarfBuzzFace.cpp, so the new deleters are added in .cpp file. New
typedefs are created so people can always use std::unique_ptr with a
correct deleter.
BUG=617504
Committed: https://crrev.com/4395bd8231b38b9b467f1141ccf0a4a7258f1f5c
Cr-Commit-Position: refs/heads/master@{#397996}
Patch Set 1 #
Messages
Total messages: 14 (6 generated)
|