summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-04-10 16:29:57 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-04-10 21:12:34 +0000
commitd562ef07d9faf211f1f6218f0879f02b60a05f18 (patch)
treeb058eb7a610a3ba7b93d5051c79eb12649d9a4d4 /xfa/fxfa/parser
parentc6c71f1062aa8b22d432af5cbbfddf038a6d2d3f (diff)
downloadpdfium-d562ef07d9faf211f1f6218f0879f02b60a05f18.tar.xz
Remove unused CreateSharedStream
The CreateShreadStream code is not called, remove. Change-Id: I62871ce190e50598b7c82ab3b43355dbde6b8b4b Reviewed-on: https://pdfium-review.googlesource.com/4013 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r--xfa/fxfa/parser/cxfa_widetextread.cpp7
-rw-r--r--xfa/fxfa/parser/cxfa_widetextread.h3
2 files changed, 0 insertions, 10 deletions
diff --git a/xfa/fxfa/parser/cxfa_widetextread.cpp b/xfa/fxfa/parser/cxfa_widetextread.cpp
index 73da5c670b..842e7ba0cd 100644
--- a/xfa/fxfa/parser/cxfa_widetextread.cpp
+++ b/xfa/fxfa/parser/cxfa_widetextread.cpp
@@ -91,13 +91,6 @@ uint16_t CXFA_WideTextRead::SetCodePage(uint16_t wCodePage) {
return GetCodePage();
}
-CFX_RetainPtr<IFGAS_Stream> CXFA_WideTextRead::CreateSharedStream(
- uint32_t dwAccess,
- int32_t iOffset,
- int32_t iLength) {
- return nullptr;
-}
-
CFX_WideString CXFA_WideTextRead::GetSrcText() const {
return m_wsBuffer;
}
diff --git a/xfa/fxfa/parser/cxfa_widetextread.h b/xfa/fxfa/parser/cxfa_widetextread.h
index e6abac5adb..648e14ed0d 100644
--- a/xfa/fxfa/parser/cxfa_widetextread.h
+++ b/xfa/fxfa/parser/cxfa_widetextread.h
@@ -30,9 +30,6 @@ class CXFA_WideTextRead : public IFGAS_Stream {
int32_t GetBOM(uint8_t bom[4]) const override;
uint16_t GetCodePage() const override;
uint16_t SetCodePage(uint16_t wCodePage) override;
- CFX_RetainPtr<IFGAS_Stream> CreateSharedStream(uint32_t dwAccess,
- int32_t iOffset,
- int32_t iLength) override;
CFX_WideString GetSrcText() const;