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

Side by Side Diff: third_party/WebKit/Source/web/tests/AnimationSimTest.cpp

Issue 2900593002: Move many more classes to use WebLocalFrameBase over WebLocalFrameImpl. (Closed)
Patch Set: Rebase Created 3 years, 6 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 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/animation/ElementAnimation.h" 5 #include "core/animation/ElementAnimation.h"
6 #include "core/css/PropertyDescriptor.h" 6 #include "core/css/PropertyDescriptor.h"
7 #include "core/css/PropertyRegistration.h" 7 #include "core/css/PropertyRegistration.h"
8 #include "core/frame/WebLocalFrameBase.h"
8 #include "core/page/Page.h" 9 #include "core/page/Page.h"
9 #include "platform/wtf/CurrentTime.h" 10 #include "platform/wtf/CurrentTime.h"
10 #include "public/web/WebScriptSource.h" 11 #include "public/web/WebScriptSource.h"
11 #include "web/WebLocalFrameImpl.h"
12 #include "web/tests/sim/SimCompositor.h" 12 #include "web/tests/sim/SimCompositor.h"
13 #include "web/tests/sim/SimDisplayItemList.h" 13 #include "web/tests/sim/SimDisplayItemList.h"
14 #include "web/tests/sim/SimRequest.h" 14 #include "web/tests/sim/SimRequest.h"
15 #include "web/tests/sim/SimTest.h" 15 #include "web/tests/sim/SimTest.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class AnimationSimTest : public SimTest {}; 19 class AnimationSimTest : public SimTest {};
20 20
21 TEST_F(AnimationSimTest, CustomPropertyBaseComputedStyle) { 21 TEST_F(AnimationSimTest, CustomPropertyBaseComputedStyle) {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 *target, StringKeyframeEffectModel::Create(keyframes), timing); 93 *target, StringKeyframeEffectModel::Create(keyframes), timing);
94 94
95 // This (previously) would not clear the existing baseComputedStyle and would 95 // This (previously) would not clear the existing baseComputedStyle and would
96 // crash on the equality assertion in the exit frame when it tried to update 96 // crash on the equality assertion in the exit frame when it tried to update
97 // it. 97 // it.
98 Compositor().BeginFrame(1); 98 Compositor().BeginFrame(1);
99 Compositor().BeginFrame(1); 99 Compositor().BeginFrame(1);
100 } 100 }
101 101
102 } // namespace blink 102 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698