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.
5 #ifndef DeprecatedScheduleStyleRecalcDuringCompositingUpdate_h
6 #define DeprecatedScheduleStyleRecalcDuringCompositingUpdate_h
8 #include "core/dom/DocumentLifecycle.h"
12 class DeprecatedScheduleStyleRecalcDuringCompositingUpdate {
13 WTF_MAKE_NONCOPYABLE(DeprecatedScheduleStyleRecalcDuringCompositingUpdate);
15 explicit DeprecatedScheduleStyleRecalcDuringCompositingUpdate(DocumentLifecycle&);
16 ~DeprecatedScheduleStyleRecalcDuringCompositingUpdate();
19 DocumentLifecycle& m_lifecycle;
20 DocumentLifecycle::DeprecatedTransition m_deprecatedTransition;
21 DocumentLifecycle::State m_originalState;