Merge to XFA: Make sure string constructors are efficient on literals
authorTom Sepez <tsepez@chromium.org>
Tue, 5 May 2015 22:51:17 +0000 (15:51 -0700)
committerTom Sepez <tsepez@chromium.org>
Tue, 5 May 2015 22:51:17 +0000 (15:51 -0700)
commit997bc0e2b4fd3f43b17b9bfcec8a9cac2283cb1d
treece7456ab7049d7ff4e592f2918c6cdec334a8694
parent3d33c90cfed96a8e5ce707a025e8efd59ce1ca01
Merge to XFA: Make sure string constructors are efficient on literals

Besides the merge, there's one place where a wchar vs. wstring
comparison was being made that no longer compiled.

Original Review URL: https://codereview.chromium.org/1117263004

BUG=pdfium:151
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1116163003
core/include/fxcrt/fx_string.h
core/src/fxcrt/fx_basic_wstring.cpp
xfa/src/fxfa/src/app/xfa_textlayout.cpp