commit | c845fa0788a2c7eb4f4a094d7a041edf979099c1 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Tue Jun 30 09:49:49 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jun 30 09:49:49 2015 -0700 |
tree | 7d8d0b2565424e075cdfbc9d454c2a0903df47cb | |
parent | 439f23e563e2ef6a497f1894c8447921f1e1f7e2 [diff] |
Pass 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: Review URL: https://codereview.chromium.org/1215523004