From 0334cb31d20bc896ce649da55489e8e7348111f8 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 28 Apr 2015 12:33:56 -0700 Subject: 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 --- core/include/fxcrt/fx_string.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/include/fxcrt/fx_string.h') 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; -- cgit v1.2.3