summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_seekablestreamproxy.cpp
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2018-04-17 18:46:19 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-17 18:46:19 +0000
commit884b33e78f8f12e143a0ebef725cb6a4b784ce43 (patch)
tree92edfaef5a0d89a04489ff4ea7c5356766496973 /core/fxcrt/cfx_seekablestreamproxy.cpp
parentf0f819de8c6c508e77e06d86f1661aa2933af9e1 (diff)
downloadpdfium-884b33e78f8f12e143a0ebef725cb6a4b784ce43.tar.xz
Remove unused CFX_SeekableStreamProxy constructor
This CL removes the CFX_SeekableStreamProxy constructor which accepts a data pointer as it is unused. Change-Id: I1340ebdf1f85ab1dd6c7cd1b5fdebe796c07115e Reviewed-on: https://pdfium-review.googlesource.com/30858 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/cfx_seekablestreamproxy.cpp')
-rw-r--r--core/fxcrt/cfx_seekablestreamproxy.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/fxcrt/cfx_seekablestreamproxy.cpp b/core/fxcrt/cfx_seekablestreamproxy.cpp
index 44a212d867..d8fe4f4832 100644
--- a/core/fxcrt/cfx_seekablestreamproxy.cpp
+++ b/core/fxcrt/cfx_seekablestreamproxy.cpp
@@ -167,11 +167,7 @@ CFX_SeekableStreamProxy::CFX_SeekableStreamProxy(
Seek(From::Begin, static_cast<FX_FILESIZE>(m_wBOMLength));
}
-CFX_SeekableStreamProxy::CFX_SeekableStreamProxy(uint8_t* data, size_t size)
- : CFX_SeekableStreamProxy(
- pdfium::MakeRetain<CFX_MemoryStream>(data, size, false)) {}
-
-CFX_SeekableStreamProxy::~CFX_SeekableStreamProxy() {}
+CFX_SeekableStreamProxy::~CFX_SeekableStreamProxy() = default;
void CFX_SeekableStreamProxy::Seek(From eSeek, FX_FILESIZE iOffset) {
switch (eSeek) {