| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "config.h" | |
| 6 #include "core/frame/FrameView.h" | 5 #include "core/frame/FrameView.h" |
| 7 | 6 |
| 8 #include "bindings/core/v8/ExceptionStatePlaceholder.h" | 7 #include "bindings/core/v8/ExceptionStatePlaceholder.h" |
| 9 #include "core/frame/Settings.h" | 8 #include "core/frame/Settings.h" |
| 10 #include "core/html/HTMLElement.h" | 9 #include "core/html/HTMLElement.h" |
| 11 #include "core/layout/LayoutObject.h" | 10 #include "core/layout/LayoutObject.h" |
| 12 #include "core/loader/EmptyClients.h" | 11 #include "core/loader/EmptyClients.h" |
| 13 #include "core/page/Page.h" | 12 #include "core/page/Page.h" |
| 14 #include "core/testing/DummyPageHolder.h" | 13 #include "core/testing/DummyPageHolder.h" |
| 15 #include "platform/RuntimeEnabledFeatures.h" | 14 #include "platform/RuntimeEnabledFeatures.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 chromeClient().m_hasScheduledAnimation = false; | 137 chromeClient().m_hasScheduledAnimation = false; |
| 139 document().getElementById("a")->layoutObject()->setShouldDoFullPaintInvalida
tion(); | 138 document().getElementById("a")->layoutObject()->setShouldDoFullPaintInvalida
tion(); |
| 140 EXPECT_TRUE(chromeClient().m_hasScheduledAnimation); | 139 EXPECT_TRUE(chromeClient().m_hasScheduledAnimation); |
| 141 chromeClient().m_hasScheduledAnimation = false; | 140 chromeClient().m_hasScheduledAnimation = false; |
| 142 document().view()->updateAllLifecyclePhases(); | 141 document().view()->updateAllLifecyclePhases(); |
| 143 EXPECT_FALSE(chromeClient().m_hasScheduledAnimation); | 142 EXPECT_FALSE(chromeClient().m_hasScheduledAnimation); |
| 144 } | 143 } |
| 145 | 144 |
| 146 } // namespace | 145 } // namespace |
| 147 } // namespace blink | 146 } // namespace blink |
| OLD | NEW |