aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/lua
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-06-30 09:49:49 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-30 09:49:49 -0700
commitc845fa0788a2c7eb4f4a094d7a041edf979099c1 (patch)
tree7d8d0b2565424e075cdfbc9d454c2a0903df47cb /tools/lua
parent439f23e563e2ef6a497f1894c8447921f1e1f7e2 (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
Diffstat (limited to 'tools/lua')
0 files changed, 0 insertions, 0 deletions