summaryrefslogtreecommitdiff
path: root/core/fxcrt/include
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-04-08 12:13:50 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-08 12:13:50 -0700
commitf172290a8dc527cd8bc73b0d0ad59e78797968c1 (patch)
tree7e04b3e6d025ba1d2683da1ae668b0505d9cfe98 /core/fxcrt/include
parent8b36e5cc3d5f5f579c6b060e2c40b896a4b02bc0 (diff)
downloadpdfium-f172290a8dc527cd8bc73b0d0ad59e78797968c1.tar.xz
Remove CFX_ByteString::Load() and operator= for CFX_ByteTextBuf
The few places these are called are better served by explicit calls to CFX_ByteString() itself. This helps make Byte and Wide strings more similar. Also prevents fx_string.h from having any knowledge of fx_basic.h's ByteTextBuf class. Review URL: https://codereview.chromium.org/1870043003
Diffstat (limited to 'core/fxcrt/include')
-rw-r--r--core/fxcrt/include/fx_string.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/fxcrt/include/fx_string.h b/core/fxcrt/include/fx_string.h
index 8a0b3ff3db..6e2954fcbb 100644
--- a/core/fxcrt/include/fx_string.h
+++ b/core/fxcrt/include/fx_string.h
@@ -15,7 +15,6 @@
#include "core/fxcrt/include/fx_memory.h"
#include "core/fxcrt/include/fx_system.h"
-class CFX_BinaryBuf;
class CFX_ByteString;
class CFX_WideString;
@@ -218,9 +217,6 @@ class CFX_ByteString {
const CFX_ByteString& operator=(const FX_CHAR* str);
const CFX_ByteString& operator=(const CFX_ByteStringC& bstrc);
const CFX_ByteString& operator=(const CFX_ByteString& stringSrc);
- const CFX_ByteString& operator=(const CFX_BinaryBuf& buf);
-
- void Load(const uint8_t* str, FX_STRSIZE len);
const CFX_ByteString& operator+=(FX_CHAR ch);
const CFX_ByteString& operator+=(const FX_CHAR* str);