commit | 2cf0d21788974dd1ea19a68259c4fbccb0e56897 | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Tue May 05 15:15:38 2015 -0700 |
committer | Tom Sepez <tsepez@chromium.org> | Tue May 05 15:15:38 2015 -0700 |
tree | 06f5cd5713ad59a0dfc4bf1152ac0b679c7d51b1 | |
parent | aadcd71ab29f588d4997ec25855f60f5866959f2 [diff] |
Make sure string constructors are efficient on literals Separate out the overload when the length is not known, and be sure that strlen() call is in the header so that strlen("foo") => 3 (since many compilers support this optimization). Also delete some unused types. BUG=pdfium:151 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1117263004