Cleanup: Pass std::string as const reference from gpu/
commit8100dae5e20fc6d8ca2fec9258277f189c434164
authorki.stfu <ki.stfu@gmail.com>
Mon, 21 Sep 2015 23:40:04 +0000 (21 16:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 21 Sep 2015 23:41:10 +0000 (21 23:41 +0000)
treecf87e1cd460b83e29f835393ca3f5acaa565ca38
parentdbc8c1869a4fd0493150c008106be720eba86205
Cleanup: Pass std::string as const reference from gpu/

Passing std::string by reference can prevent extra copying of object.

BUG=367418
TEST=
R=piman@chromium.org,sievers@chromium.org

Review URL: https://codereview.chromium.org/1360513002

Cr-Commit-Position: refs/heads/master@{#350063}
gpu/command_buffer/service/gles2_cmd_decoder.cc
gpu/command_buffer/service/texture_manager_unittest.cc
gpu/config/gpu_blacklist_unittest.cc
gpu/tools/compositor_model_bench/render_tree.cc
gpu/tools/compositor_model_bench/render_tree.h
gpu/tools/compositor_model_bench/shaders.cc
gpu/tools/compositor_model_bench/shaders.h