summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_memorystream.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-05-30 21:11:21 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-30 21:11:21 +0000
commitaa31fd95a7ba0c8bdfdb3cfd37f44641ae8c8c2b (patch)
tree08bb20c1f57fca62dca6f9ad075cab9ce35beed4 /core/fxcrt/cfx_memorystream.h
parenta7b65b85bba95fb8757cbd407fd38d71304128ab (diff)
downloadpdfium-aa31fd95a7ba0c8bdfdb3cfd37f44641ae8c8c2b.tar.xz
Remove unused CFX_MemoryStream::{Attach,Detach}Buffer() methods
Also, EstimateSize() is similarly unused. Change-Id: Idbbb5a4a1105448731d3541365c30ba37ff7eb29 Reviewed-on: https://pdfium-review.googlesource.com/33314 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/cfx_memorystream.h')
-rw-r--r--core/fxcrt/cfx_memorystream.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/fxcrt/cfx_memorystream.h b/core/fxcrt/cfx_memorystream.h
index a56a2dbe2c..64ea2cd5b5 100644
--- a/core/fxcrt/cfx_memorystream.h
+++ b/core/fxcrt/cfx_memorystream.h
@@ -37,10 +37,6 @@ class CFX_MemoryStream : public IFX_SeekableStream {
return !m_Blocks.empty() ? m_Blocks.front() : nullptr;
}
- void EstimateSize(size_t nInitSize, size_t nGrowSize);
- void AttachBuffer(uint8_t* pBuffer, size_t nSize);
- void DetachBuffer();
-
private:
explicit CFX_MemoryStream(bool bConsecutive);
CFX_MemoryStream(uint8_t* pBuffer, size_t nSize, bool bTakeOver);