Index: src/codec/SkCodec_libgif.cpp |
diff --git a/src/codec/SkCodec_libgif.cpp b/src/codec/SkCodec_libgif.cpp |
index 120044193481200edd79aeb05b59c61f36ba1b8d..1d6164eb8e5be0043eb68bb4a17f8a3b8fa774fb 100644 |
--- a/src/codec/SkCodec_libgif.cpp |
+++ b/src/codec/SkCodec_libgif.cpp |
@@ -67,11 +67,7 @@ static GifFileType* open_gif(SkStream* stream) { |
* It is used in a SkAutoTCallIProc template |
*/ |
void SkGifCodec::CloseGif(GifFileType* gif) { |
-#if GIFLIB_MAJOR < 5 || (GIFLIB_MAJOR == 5 && GIFLIB_MINOR == 0) |
- DGifCloseFile(gif); |
-#else |
DGifCloseFile(gif, NULL); |
-#endif |
} |
/* |