| Index: third_party/WebKit/Source/platform/image-decoders/ImageAnimation.h
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageAnimation.h b/third_party/WebKit/Source/platform/image-decoders/ImageAnimation.h
|
| index 26c84420fba43c69bdb227f33d48ff65483a7e70..de03898545f44173ec1a45af2c6252080ec2abd3 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/ImageAnimation.h
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/ImageAnimation.h
|
| @@ -34,17 +34,17 @@
|
| // animated GIF should be cycled. If the loop count is absent, the animation
|
| // cycles once; if it is 0, the animation cycles infinitely; otherwise the
|
| // animation plays n + 1 cycles (where n is the specified loop count). If the
|
| -// GIF decoder defaults to kAnimationLoopOnce in the absence of any loop count
|
| -// and translates an explicit "0" loop count to kAnimationLoopInfinite, then we
|
| +// GIF decoder defaults to kCAnimationLoopOnce in the absence of any loop count
|
| +// and translates an explicit "0" loop count to kCAnimationLoopInfinite, then we
|
| // get a couple of nice side effects:
|
| -// * By making kAnimationLoopOnce be 0, we allow the animation cycling code in
|
| -// BitmapImage.cpp to avoid special-casing it, and simply treat all
|
| +// * By making kCAnimationLoopOnce be 0, we allow the animation cycling code
|
| +// in BitmapImage.cpp to avoid special-casing it, and simply treat all
|
| // non-negative loop counts identically.
|
| // * By making the other two constants negative, we avoid conflicts with any
|
| // real loop count values.
|
| -const int kAnimationLoopOnce = 0;
|
| -const int kAnimationLoopInfinite = -1;
|
| -const int kAnimationNone = -2;
|
| +const int kCAnimationLoopOnce = 0;
|
| +const int kCAnimationLoopInfinite = -1;
|
| +const int kCAnimationNone = -2;
|
|
|
| } // namespace blink
|
|
|
|
|