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

Unified Diff: Source/core/frame/DeprecatedScheduleStyleRecalcDuringCompositingUpdate.cpp

Issue 302093002: Remove scheduleLayerUpdate from RenderLayerCompositor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge to ToT Created 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/DeprecatedScheduleStyleRecalcDuringCompositingUpdate.cpp
diff --git a/Source/core/frame/DeprecatedScheduleStyleRecalcDuringCompositingUpdate.cpp b/Source/core/frame/DeprecatedScheduleStyleRecalcDuringCompositingUpdate.cpp
deleted file mode 100644
index 398b4c364d2ad7aa7ed5c820579e44a61afb5b3c..0000000000000000000000000000000000000000
--- a/Source/core/frame/DeprecatedScheduleStyleRecalcDuringCompositingUpdate.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "config.h"
-#include "core/frame/DeprecatedScheduleStyleRecalcDuringCompositingUpdate.h"
-
-#include "wtf/Assertions.h"
-
-namespace WebCore {
-
-DeprecatedScheduleStyleRecalcDuringCompositingUpdate::DeprecatedScheduleStyleRecalcDuringCompositingUpdate(DocumentLifecycle& lifecycle)
- : m_lifecycle(lifecycle)
- , m_deprecatedTransition(lifecycle.state(), DocumentLifecycle::VisualUpdatePending)
- , m_originalState(lifecycle.state())
-{
-}
-
-DeprecatedScheduleStyleRecalcDuringCompositingUpdate::~DeprecatedScheduleStyleRecalcDuringCompositingUpdate()
-{
- if (m_originalState != DocumentLifecycle::InStyleRecalc
- && m_originalState != DocumentLifecycle::AfterPerformLayout
- && m_originalState != DocumentLifecycle::InCompositingUpdate)
- return;
- if (m_lifecycle.state() != m_originalState) {
- ASSERT(m_lifecycle.state() == DocumentLifecycle::VisualUpdatePending);
- m_lifecycle.advanceTo(m_originalState);
- }
-}
-
-}

Powered by Google App Engine
This is Rietveld 408576698