summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_font/font_int.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-04-14 18:17:03 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-14 18:17:03 -0700
commitb1c80fb8b843a2a345b2cd6005e591dc731355f4 (patch)
tree296e923c6a13f5321bcf52f83c69346c41020dbd /core/fpdfapi/fpdf_font/font_int.h
parent80b103bf53ee1249823e6bb3bed9cb2bc15ca67a (diff)
downloadpdfium-b1c80fb8b843a2a345b2cd6005e591dc731355f4.tar.xz
Avoid string allocs for CMap_GetString() return value.
StringC's are all that's needed here. Also CMap_GetString() and GetCode() are side-effect free, so remove calls where the value is not used. Review URL: https://codereview.chromium.org/1889003002
Diffstat (limited to 'core/fpdfapi/fpdf_font/font_int.h')
-rw-r--r--core/fpdfapi/fpdf_font/font_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_font/font_int.h b/core/fpdfapi/fpdf_font/font_int.h
index fc69b0cbd9..792377ebf0 100644
--- a/core/fpdfapi/fpdf_font/font_int.h
+++ b/core/fpdfapi/fpdf_font/font_int.h
@@ -22,7 +22,7 @@ typedef void* FXFT_Library;
short TT2PDF(int m, FXFT_Face face);
FX_BOOL FT_UseTTCharmap(FXFT_Face face, int platform_id, int encoding_id);
-CIDSet CharsetFromOrdering(const CFX_ByteString& ordering);
+CIDSet CharsetFromOrdering(const CFX_ByteStringC& ordering);
class CPDF_CMapManager {
public: