summaryrefslogtreecommitdiff
path: root/core/fxcodec/lgif/fx_gif.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-04-14 09:49:44 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-14 09:49:44 -0700
commit774bdde253b8394aa2ac791e273508ff006d813a (patch)
treef00993d262bfda76d129c14dc8a11053e019542f /core/fxcodec/lgif/fx_gif.cpp
parent725a49f7a64a3537c081cd23cf7d5d6578efdfa1 (diff)
downloadpdfium-774bdde253b8394aa2ac791e273508ff006d813a.tar.xz
Replace calls to deprecated CFX_{Wide,Byte}String::Empty()
Use the more standard name "clear()" instead. Review URL: https://codereview.chromium.org/1888103002
Diffstat (limited to 'core/fxcodec/lgif/fx_gif.cpp')
-rw-r--r--core/fxcodec/lgif/fx_gif.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/lgif/fx_gif.cpp b/core/fxcodec/lgif/fx_gif.cpp
index 059fa9a70b..53298c831a 100644
--- a/core/fxcodec/lgif/fx_gif.cpp
+++ b/core/fxcodec/lgif/fx_gif.cpp
@@ -647,7 +647,7 @@ int32_t gif_decode_extension(gif_decompress_struct_p gif_ptr) {
gif_ptr->skip_size = skip_size_org;
return 2;
}
- gif_ptr->cmt_data_ptr->Empty();
+ gif_ptr->cmt_data_ptr->clear();
while (*data_size_ptr != GIF_BLOCK_TERMINAL) {
uint8_t data_size = *data_size_ptr;
if (gif_read_data(gif_ptr, &data_ptr, *data_size_ptr) == NULL ||