Cleanup: Pass std::string as const reference from pdf/
commit9f9f5da774a8449eb00fe49e4b97916f3d3ed07d
authorki.stfu <ki.stfu@gmail.com>
Mon, 21 Sep 2015 22:20:04 +0000 (21 15:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 21 Sep 2015 22:21:47 +0000 (21 22:21 +0000)
treef8aca32f4374f98f2bb74bfbe7af54d668f138a6
parent277108add19203ab9ab14c9043006fbe05ca61b7
Cleanup: Pass std::string as const reference from pdf/

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

BUG=367418
TEST=
R=jam@chromium.org,jochen@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#350044}
pdf/pdfium/pdfium_page.cc
pdf/pdfium/pdfium_page.h