Replace OwningPtr<T> with std::unique_ptr<T>.