OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013, Google Inc. All rights reserved. | 2 * Copyright (c) 2013, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "core/animation/AnimationTimeline.h" | 35 #include "core/animation/AnimationTimeline.h" |
36 #include "core/animation/CompositorPendingAnimations.h" | 36 #include "core/animation/CompositorPendingAnimations.h" |
37 #include "core/animation/ElementAnimations.h" | 37 #include "core/animation/ElementAnimations.h" |
38 #include "core/animation/KeyframeEffect.h" | 38 #include "core/animation/KeyframeEffect.h" |
39 #include "core/animation/animatable/AnimatableDouble.h" | 39 #include "core/animation/animatable/AnimatableDouble.h" |
40 #include "core/animation/animatable/AnimatableFilterOperations.h" | 40 #include "core/animation/animatable/AnimatableFilterOperations.h" |
41 #include "core/animation/animatable/AnimatableTransform.h" | 41 #include "core/animation/animatable/AnimatableTransform.h" |
42 #include "core/animation/animatable/AnimatableValueTestHelper.h" | 42 #include "core/animation/animatable/AnimatableValueTestHelper.h" |
43 #include "core/dom/Document.h" | 43 #include "core/dom/Document.h" |
44 #include "core/layout/LayoutObject.h" | 44 #include "core/layout/LayoutObject.h" |
| 45 #include "core/style/FilterOperations.h" |
45 #include "core/testing/DummyPageHolder.h" | 46 #include "core/testing/DummyPageHolder.h" |
46 #include "platform/animation/CompositorAnimation.h" | 47 #include "platform/animation/CompositorAnimation.h" |
47 #include "platform/animation/CompositorFloatAnimationCurve.h" | 48 #include "platform/animation/CompositorFloatAnimationCurve.h" |
48 #include "platform/animation/CompositorFloatKeyframe.h" | 49 #include "platform/animation/CompositorFloatKeyframe.h" |
49 #include "platform/geometry/FloatBox.h" | 50 #include "platform/geometry/FloatBox.h" |
50 #include "platform/geometry/IntSize.h" | 51 #include "platform/geometry/IntSize.h" |
51 #include "platform/graphics/filters/FilterOperations.h" | |
52 #include "platform/transforms/TransformOperations.h" | 52 #include "platform/transforms/TransformOperations.h" |
53 #include "platform/transforms/TranslateTransformOperation.h" | 53 #include "platform/transforms/TranslateTransformOperation.h" |
54 #include "testing/gtest/include/gtest/gtest.h" | 54 #include "testing/gtest/include/gtest/gtest.h" |
55 #include "wtf/HashFunctions.h" | 55 #include "wtf/HashFunctions.h" |
56 #include "wtf/PassRefPtr.h" | 56 #include "wtf/PassRefPtr.h" |
57 #include "wtf/PtrUtil.h" | 57 #include "wtf/PtrUtil.h" |
58 #include "wtf/RefPtr.h" | 58 #include "wtf/RefPtr.h" |
59 #include <memory> | 59 #include <memory> |
60 | 60 |
61 namespace blink { | 61 namespace blink { |
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 simulateFrame(1.); | 1014 simulateFrame(1.); |
1015 | 1015 |
1016 element->setLayoutObject(nullptr); | 1016 element->setLayoutObject(nullptr); |
1017 LayoutObjectProxy::dispose(layoutObject); | 1017 LayoutObjectProxy::dispose(layoutObject); |
1018 | 1018 |
1019 ThreadState::current()-> collectAllGarbage(); | 1019 ThreadState::current()-> collectAllGarbage(); |
1020 EXPECT_TRUE(element->elementAnimations()->animations().isEmpty()); | 1020 EXPECT_TRUE(element->elementAnimations()->animations().isEmpty()); |
1021 } | 1021 } |
1022 | 1022 |
1023 } // namespace blink | 1023 } // namespace blink |
OLD | NEW |