summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_unicodeencodingex.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-05-01 11:39:33 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-01 19:09:28 +0000
commita0a69233cafa0ec22fd6c776851e3ee069ca66bf (patch)
treed19383094f925441de83f554c9e591f5807ea2d7 /core/fxge/cfx_unicodeencodingex.h
parentb8e00f24780335cdd068565f39d2874c81e799b9 (diff)
downloadpdfium-a0a69233cafa0ec22fd6c776851e3ee069ca66bf.tar.xz
Remove more |new|s, part 5
Many of these are already unique_ptrs. Change-Id: I3695d4ff5a8f7483ad994ac7657897fd55069cd5 Reviewed-on: https://pdfium-review.googlesource.com/4690 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/cfx_unicodeencodingex.h')
-rw-r--r--core/fxge/cfx_unicodeencodingex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxge/cfx_unicodeencodingex.h b/core/fxge/cfx_unicodeencodingex.h
index 21deb44d79..e62410a122 100644
--- a/core/fxge/cfx_unicodeencodingex.h
+++ b/core/fxge/cfx_unicodeencodingex.h
@@ -30,8 +30,8 @@ class CFX_UnicodeEncodingEx : public CFX_UnicodeEncoding {
uint32_t m_nEncodingID;
};
-CFX_UnicodeEncodingEx* FX_CreateFontEncodingEx(
+std::unique_ptr<CFX_UnicodeEncodingEx> FX_CreateFontEncodingEx(
CFX_Font* pFont,
- uint32_t nEncodingID = FXFM_ENCODING_NONE);
+ uint32_t nEncodingID);
#endif // CORE_FXGE_CFX_UNICODEENCODINGEX_H_