Change from PassOwnPtr|OwnPtr to std::unique_ptr for ScrollAnimator in All port.
Created attachment 247624 [details] Patch
Created attachment 247625 [details] Patch
Comment on attachment 247625 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=247625&action=review > Source/WebCore/platform/ScrollAnimator.h:62 > + explicit ScrollAnimator(ScrollableArea&); It’s not so great that now a client can now accidentally create a ScrollAnimator directly with make_unique, when it should be calling ScrollAnimator::create.
Comment on attachment 247625 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=247625&action=review cq=me. >> Source/WebCore/platform/ScrollAnimator.h:62 >> + explicit ScrollAnimator(ScrollableArea&); > > It’s not so great that now a client can now accidentally create a ScrollAnimator directly with make_unique, when it should be calling ScrollAnimator::create. I also think like that. However, now we don't have best solution yet. In this case, lambdas looks not great benefit. When we have better solution, let's fix it again.
Comment on attachment 247625 [details] Patch Clearing flags on attachment: 247625 Committed r180873: <http://trac.webkit.org/changeset/180873>
All reviewed patches have been landed. Closing bug.