| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef DeprecatedScheduleStyleRecalcDuringCompositingUpdate_h | |
| 6 #define DeprecatedScheduleStyleRecalcDuringCompositingUpdate_h | |
| 7 | |
| 8 #include "core/dom/DocumentLifecycle.h" | |
| 9 | |
| 10 namespace WebCore { | |
| 11 | |
| 12 class DeprecatedScheduleStyleRecalcDuringCompositingUpdate { | |
| 13 WTF_MAKE_NONCOPYABLE(DeprecatedScheduleStyleRecalcDuringCompositingUpdate); | |
| 14 public: | |
| 15 explicit DeprecatedScheduleStyleRecalcDuringCompositingUpdate(DocumentLifecy
cle&); | |
| 16 ~DeprecatedScheduleStyleRecalcDuringCompositingUpdate(); | |
| 17 | |
| 18 private: | |
| 19 DocumentLifecycle& m_lifecycle; | |
| 20 DocumentLifecycle::DeprecatedTransition m_deprecatedTransition; | |
| 21 DocumentLifecycle::State m_originalState; | |
| 22 }; | |
| 23 | |
| 24 } | |
| 25 | |
| 26 #endif | |
| OLD | NEW |