summaryrefslogtreecommitdiff
path: root/core/include/fxcrt
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-05 15:13:08 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-05 15:13:08 -0700
commit8d8a99027d38e3b8d452e7ab8049c310b90e780d (patch)
tree5b8c26e36435cfc0b950d7a744dddccbea50a147 /core/include/fxcrt
parent2b9178181eb82a3611bee5c9435ea5956def24be (diff)
downloadpdfium-8d8a99027d38e3b8d452e7ab8049c310b90e780d.tar.xz
Remove the unused IFX_StreamRead::SetRange() mechanism.
This, in turn make m_bUseRange always false, so remove it. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1274883002 .
Diffstat (limited to 'core/include/fxcrt')
-rw-r--r--core/include/fxcrt/fx_stream.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/include/fxcrt/fx_stream.h b/core/include/fxcrt/fx_stream.h
index 73ec7e05b2..7856dcbb12 100644
--- a/core/include/fxcrt/fx_stream.h
+++ b/core/include/fxcrt/fx_stream.h
@@ -100,12 +100,6 @@ class IFX_FileRead : IFX_StreamRead {
virtual FX_FILESIZE GetPosition() { return 0; }
- virtual FX_BOOL SetRange(FX_FILESIZE offset, FX_FILESIZE size) {
- return FALSE;
- }
-
- virtual void ClearRange() {}
-
virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) = 0;
virtual size_t ReadBlock(void* buffer, size_t size) { return 0; }