summaryrefslogtreecommitdiffstats
path: root/media/blink
diff options
context:
space:
mode:
authora.berwal <a.berwal@samsung.com>2015-04-29 21:10:28 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-30 04:11:02 +0000
commit0c9d20046ecd599c511fd7f4ff8e8df83230b03d (patch)
treece12ed6ac6e577c23150a82aae2690bbdc6e7215 /media/blink
parent2288c539cc227ec262be28c4b684ff38527f7768 (diff)
downloadchromium_src-0c9d20046ecd599c511fd7f4ff8e8df83230b03d.zip
chromium_src-0c9d20046ecd599c511fd7f4ff8e8df83230b03d.tar.gz
chromium_src-0c9d20046ecd599c511fd7f4ff8e8df83230b03d.tar.bz2
Pass gfx structs by const ref (gfx::PointF)
Avoid unneccessary copy of structures gfx::PointF by passing them by const ref rather than value. Any struct of size > 4 bytes should be passed by const ref. Passing by ref for these structs is faster than passing by value, especially when invoking function has multiple parameters. Reviewed at https://chromiumcodereview.appspot.com/139233002 BUG=159273 Review URL: https://codereview.chromium.org/1109393002 Cr-Commit-Position: refs/heads/master@{#327651}
Diffstat (limited to 'media/blink')
0 files changed, 0 insertions, 0 deletions