Chromium Code Reviews| Index: Source/core/animation/CompositorAnimationsImpl.h |
| diff --git a/Source/core/animation/CompositorAnimationsImpl.h b/Source/core/animation/CompositorAnimationsImpl.h |
| index 9bf8889e195c8334c67231ed4d50606ebffa0868..e7e972c2e0a71b28afca3dba53a009c7dd157a15 100644 |
| --- a/Source/core/animation/CompositorAnimationsImpl.h |
| +++ b/Source/core/animation/CompositorAnimationsImpl.h |
| @@ -41,8 +41,13 @@ typedef KeyframeEffectModel::PropertySpecificKeyframeVector KeyframeVector; |
| class CompositorAnimationsImpl { |
| private: |
| struct CompositorTiming { |
| - bool reverse; |
| - bool alternate; |
| + enum Direction { |
| + Normal = 0, |
| + Reverse, |
| + Alternate, |
| + AlternateReverse |
| + }; |
| + Direction direction; |
|
dstockwell
2014/03/05 02:07:19
Can't we reuse Timing::PlaybackDirection?
|
| double scaledDuration; |
| double scaledTimeOffset; |
| int adjustedIterationCount; |