summaryrefslogtreecommitdiff
path: root/core/fxcodec/gif/cfx_gifcontext.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-09-06 22:07:10 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-06 22:07:10 +0000
commit1881cb7591c7154c65efaa62a8ead989113a6c23 (patch)
tree258ae3c5d19250f064ea23e1be97500445aeb52b /core/fxcodec/gif/cfx_gifcontext.h
parentaaff8f8b902ac3058b44b0f11a236df606082383 (diff)
downloadpdfium-1881cb7591c7154c65efaa62a8ead989113a6c23.tar.xz
Rename CFX_GifContext::ReadData() to ReadAllOrNone()
The whole point of this wrapper method is to disallow partial reads, so name it accordingly. No functional change. Change-Id: Ia2e7ee756192615f399369d5b077b836438befb2 Reviewed-on: https://pdfium-review.googlesource.com/42150 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcodec/gif/cfx_gifcontext.h')
-rw-r--r--core/fxcodec/gif/cfx_gifcontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/gif/cfx_gifcontext.h b/core/fxcodec/gif/cfx_gifcontext.h
index 9cc7da9615..5eae5163cc 100644
--- a/core/fxcodec/gif/cfx_gifcontext.h
+++ b/core/fxcodec/gif/cfx_gifcontext.h
@@ -64,7 +64,7 @@ class CFX_GifContext : public CCodec_GifModule::Context {
uint8_t img_pass_num_;
protected:
- bool ReadData(uint8_t* dest, uint32_t size);
+ bool ReadAllOrNone(uint8_t* dest, uint32_t size);
CFX_GifDecodeStatus ReadGifSignature();
CFX_GifDecodeStatus ReadLogicalScreenDescriptor();