summaryrefslogtreecommitdiff
path: root/core/include/fxcrt/fx_string.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-28 12:33:56 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-28 12:33:56 -0700
commit0334cb31d20bc896ce649da55489e8e7348111f8 (patch)
tree6f62b5280dd1755d8b52c775484b20cbe22fd7d5 /core/include/fxcrt/fx_string.h
parent5a256ad29483eb2b13e6e2c89fe0f77a9103f68f (diff)
downloadpdfium-0334cb31d20bc896ce649da55489e8e7348111f8.tar.xz
Revert "Make CFX_WideString::LockBuffer() completely unused."
This reverts commit 5a256ad29483eb2b13e6e2c89fe0f77a9103f68f. Reason for revert: broke JS tests. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1112673002
Diffstat (limited to 'core/include/fxcrt/fx_string.h')
-rw-r--r--core/include/fxcrt/fx_string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/include/fxcrt/fx_string.h b/core/include/fxcrt/fx_string.h
index a7cf2e1c16..1efb814b08 100644
--- a/core/include/fxcrt/fx_string.h
+++ b/core/include/fxcrt/fx_string.h
@@ -320,6 +320,8 @@ public:
FX_LPSTR GetBuffer(FX_STRSIZE len);
+ FX_LPSTR LockBuffer();
+
void ReleaseBuffer(FX_STRSIZE len = -1);
CFX_ByteString Mid(FX_STRSIZE first) const;
@@ -728,6 +730,8 @@ public:
FX_LPWSTR GetBuffer(FX_STRSIZE len);
+ FX_LPWSTR LockBuffer();
+
void ReleaseBuffer(FX_STRSIZE len = -1);
int GetInteger() const;