| Index: third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
|
| index 0e12da8491b7094abc87fe1dd4647a97b07fd634..9890b7c27a9479b1c639e0dabf838ec7922c3fff 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
|
| @@ -47,10 +47,10 @@
|
| : ImageDecoder(alpha_option, color_behavior, max_decoded_bytes),
|
| offset_(offset),
|
| current_frame_(0),
|
| - // It would be logical to default to kAnimationNone, but BitmapImage uses
|
| + // It would be logical to default to kCAnimationNone, but BitmapImage uses
|
| // that as a signal to never check again, meaning the actual count will
|
| // never be respected.
|
| - repetition_count_(kAnimationLoopOnce),
|
| + repetition_count_(kCAnimationLoopOnce),
|
| has_alpha_channel_(false),
|
| current_buffer_saw_alpha_(false) {}
|
|
|
| @@ -122,7 +122,7 @@
|
| }
|
|
|
| int PNGImageDecoder::RepetitionCount() const {
|
| - return Failed() ? kAnimationLoopOnce : repetition_count_;
|
| + return Failed() ? kCAnimationLoopOnce : repetition_count_;
|
| }
|
|
|
| void PNGImageDecoder::InitializeNewFrame(size_t index) {
|
|
|