DescriptionMinor scoped_refptr cleanup in cc::OutputSurface.
Using const scoped_refptr<T>& is more efficient when passing a
scoped_refptr<T> to a function or returning a scoped_refptr<T> from an
accessor. It avoids the creation of a temporary scoped_refptr and
reduces refcount churn.
BUG=none
Committed: https://crrev.com/6afa1700e5019cce52fdb1d498d1d7ece69e3a2c
Cr-Commit-Position: refs/heads/master@{#291955}
Patch Set 1 #Patch Set 2 : With raw pointer #
Messages
Total messages: 13 (0 generated)
|