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

Unified Diff: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp

Issue 1246363002: Avoid updating compositor animations in hitTest path (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix comments#7 Created 5 years, 5 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
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
diff --git a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
index 96cbd28a83e364b7906caa15d6adc7ab9b3b3b66..c0d674cd1ecd93fb25092cb3b53e08f20abd564b 100644
--- a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
+++ b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
@@ -28,7 +28,6 @@
#include "core/layout/compositing/DeprecatedPaintLayerCompositor.h"
#include "core/animation/AnimationTimeline.h"
-#include "core/animation/DocumentAnimations.h"
#include "core/dom/DOMNodeIds.h"
#include "core/dom/Fullscreen.h"
#include "core/editing/FrameSelection.h"
@@ -232,14 +231,6 @@ void DeprecatedPaintLayerCompositor::updateIfNeededRecursive()
updateIfNeeded();
lifecycle().advanceTo(DocumentLifecycle::CompositingClean);
- DocumentAnimations::updateCompositorAnimations(m_layoutView.document());
-
- m_layoutView.frameView()->scrollableArea()->updateCompositorScrollAnimations();
- if (const FrameView::ScrollableAreaSet* animatingScrollableAreas = m_layoutView.frameView()->animatingScrollableAreas()) {
- for (ScrollableArea* scrollableArea : *animatingScrollableAreas)
- scrollableArea->updateCompositorScrollAnimations();
- }
-
qiankun 2015/07/24 10:57:08 Move these code out of updateIfNeededRecursive wil
#if ENABLE(ASSERT)
ASSERT(lifecycle().state() == DocumentLifecycle::CompositingClean);
assertNoUnresolvedDirtyBits();
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698