| Index: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
|
| index 845fba9a1125e06dd09914674c8083d731bde1fe..5ee289a40e3ca26c6604984daf57cd59664b3c46 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
|
| @@ -36,7 +36,7 @@
|
| const ColorBehavior& color_behavior,
|
| size_t max_decoded_bytes)
|
| : ImageDecoder(alpha_option, color_behavior, max_decoded_bytes),
|
| - repetition_count_(kAnimationLoopOnce) {}
|
| + repetition_count_(kCAnimationLoopOnce) {}
|
|
|
| GIFImageDecoder::~GIFImageDecoder() {}
|
|
|
| @@ -71,9 +71,9 @@
|
| // later in the stream. It is also possible that no frames are in the
|
| // stream. In these cases we should just loop once.
|
| if (IsAllDataReceived() && ParseCompleted() && reader_->imagesCount() == 1)
|
| - repetition_count_ = kAnimationNone;
|
| + repetition_count_ = kCAnimationNone;
|
| else if (Failed() || (reader_ && (!reader_->imagesCount())))
|
| - repetition_count_ = kAnimationLoopOnce;
|
| + repetition_count_ = kCAnimationLoopOnce;
|
| else if (reader_ && reader_->loopCount() != cLoopCountNotSeen)
|
| repetition_count_ = reader_->loopCount();
|
| return repetition_count_;
|
|
|