DescriptionPass arguments to SkRecords structs by const&.
This has the effect of using delay_copy() on every argument,
obviating the need for delay_copy() and, crucially, having
to remember to call delay_copy().
All these constructors are fully inlined, so we'll never pay
a penalty for passing small things by reference... the compiler
can see that and just pass by value.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/c845fa0788a2c7eb4f4a094d7a041edf979099c1
Patch Set 1 #
Messages
Total messages: 10 (4 generated)
|