Revert "Make CFX_WideString::LockBuffer() completely unused."
[pdfium.git] / core / include / fxcrt / fx_string.h
index a7cf2e1..1efb814 100644 (file)
@@ -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;