summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_bytestring.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-08-02 16:57:56 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-02 21:23:30 +0000
commit30152572648cff28747aec081090a59caafb1383 (patch)
treedbb14a6197ee820048814c34d2ea9c4c7a3f1956 /core/fxcrt/cfx_bytestring.h
parent17b1c191da26e477c6898a8b06f2ff624f9e4c6b (diff)
downloadpdfium-30152572648cff28747aec081090a59caafb1383.tar.xz
Remove unused FromUnicode method
A helper method for FromUnicode existed that converted wchar_t* to CFX_WideString before calling the remaining FromUnicode. This method is not used in the code base, so it has been removed. This simplifies converting FX_STRSIZE to be unsigned, since one of parameters to this method was of type FX_STRSIZE. BUG=pdfium:828 Change-Id: I3da677b84ac3b82ba48497e26d2ac80dd14302e6 Reviewed-on: https://pdfium-review.googlesource.com/9910 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcrt/cfx_bytestring.h')
-rw-r--r--core/fxcrt/cfx_bytestring.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/fxcrt/cfx_bytestring.h b/core/fxcrt/cfx_bytestring.h
index 902d28f300..3f96c2f2f6 100644
--- a/core/fxcrt/cfx_bytestring.h
+++ b/core/fxcrt/cfx_bytestring.h
@@ -52,7 +52,6 @@ class CFX_ByteString {
void clear() { m_pData.Reset(); }
- static CFX_ByteString FromUnicode(const wchar_t* ptr, FX_STRSIZE len = -1);
static CFX_ByteString FromUnicode(const CFX_WideString& str);
// Explicit conversion to C-style string.