Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1118)

Side by Side Diff: third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp

Issue 1870963002: Clean up CompositorPendingAnimations inclusion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 31
32 #include "core/animation/CompositorAnimations.h" 32 #include "core/animation/CompositorAnimations.h"
33 33
34 #include "core/animation/Animation.h" 34 #include "core/animation/Animation.h"
35 #include "core/animation/AnimationTimeline.h" 35 #include "core/animation/AnimationTimeline.h"
36 #include "core/animation/CompositorAnimationsImpl.h" 36 #include "core/animation/CompositorAnimationsImpl.h"
37 #include "core/animation/CompositorAnimationsTestHelper.h" 37 #include "core/animation/CompositorAnimationsTestHelper.h"
38 #include "core/animation/CompositorPendingAnimations.h"
38 #include "core/animation/ElementAnimations.h" 39 #include "core/animation/ElementAnimations.h"
39 #include "core/animation/KeyframeEffect.h" 40 #include "core/animation/KeyframeEffect.h"
40 #include "core/animation/animatable/AnimatableDouble.h" 41 #include "core/animation/animatable/AnimatableDouble.h"
41 #include "core/animation/animatable/AnimatableFilterOperations.h" 42 #include "core/animation/animatable/AnimatableFilterOperations.h"
42 #include "core/animation/animatable/AnimatableTransform.h" 43 #include "core/animation/animatable/AnimatableTransform.h"
43 #include "core/animation/animatable/AnimatableValueTestHelper.h" 44 #include "core/animation/animatable/AnimatableValueTestHelper.h"
44 #include "core/dom/Document.h" 45 #include "core/dom/Document.h"
45 #include "core/layout/LayoutObject.h" 46 #include "core/layout/LayoutObject.h"
46 #include "core/testing/DummyPageHolder.h" 47 #include "core/testing/DummyPageHolder.h"
47 #include "platform/animation/CompositorAnimation.h" 48 #include "platform/animation/CompositorAnimation.h"
(...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1224 simulateFrame(1.); 1225 simulateFrame(1.);
1225 1226
1226 element->setLayoutObject(nullptr); 1227 element->setLayoutObject(nullptr);
1227 LayoutObjectProxy::dispose(layoutObject); 1228 LayoutObjectProxy::dispose(layoutObject);
1228 1229
1229 Heap::collectAllGarbage(); 1230 Heap::collectAllGarbage();
1230 EXPECT_TRUE(element->elementAnimations()->animations().isEmpty()); 1231 EXPECT_TRUE(element->elementAnimations()->animations().isEmpty());
1231 } 1232 }
1232 1233
1233 } // namespace blink 1234 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698