diff options
author | tsepez <tsepez@chromium.org> | 2017-01-09 07:08:54 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2017-01-09 07:08:54 -0800 |
commit | 8aafdf9926882d9ebc12c2c64553576621a4bb39 (patch) | |
tree | 6403c7e6b8ab8f8f8357d6e11d558c6074807443 /core/fxcodec/codec/fx_codec_gif.cpp | |
parent | 0fa471794a88b262f9114b973d74b1c33e4e592b (diff) | |
download | pdfium-8aafdf9926882d9ebc12c2c64553576621a4bb39.tar.xz |
Remove CFX_ArrayTemplate from fpdftext and fxcodec.
Remove unused m_Segments.
Review-Url: https://codereview.chromium.org/2618863004
Diffstat (limited to 'core/fxcodec/codec/fx_codec_gif.cpp')
-rw-r--r-- | core/fxcodec/codec/fx_codec_gif.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcodec/codec/fx_codec_gif.cpp b/core/fxcodec/codec/fx_codec_gif.cpp index 9d67652f86..fadf18f251 100644 --- a/core/fxcodec/codec/fx_codec_gif.cpp +++ b/core/fxcodec/codec/fx_codec_gif.cpp @@ -147,9 +147,9 @@ int32_t CCodec_GifModule::LoadFrame(FXGIF_Context* ctx, if (ret == 1) { if (pAttribute) { pAttribute->m_nGifLeft = - ctx->gif_ptr->img_ptr_arr_ptr->GetAt(frame_num)->image_info_ptr->left; + (*ctx->gif_ptr->img_ptr_arr_ptr)[frame_num]->image_info_ptr->left; pAttribute->m_nGifTop = - ctx->gif_ptr->img_ptr_arr_ptr->GetAt(frame_num)->image_info_ptr->top; + (*ctx->gif_ptr->img_ptr_arr_ptr)[frame_num]->image_info_ptr->top; pAttribute->m_fAspectRatio = ctx->gif_ptr->pixel_aspect; if (ctx->gif_ptr->cmt_data_ptr) { const uint8_t* buf = |