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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp

Issue 2724083002: [SPv2] Decomposite otherwise-compositable animations that paint nothing. (Closed)
Patch Set: Progress. Created 3 years, 9 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: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
index 3aebdb015ba5d79b3be75e957783632aca2f0e8b..59050f0038299fa62d224219899bdb35efaf60c8 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -69,6 +69,7 @@
#include "platform/graphics/paint/TransformDisplayItem.h"
#include "platform/instrumentation/tracing/TraceEvent.h"
#include "platform/json/JSONValues.h"
+#include "wtf/Optional.h"
namespace blink {
@@ -228,8 +229,10 @@ void PaintLayerCompositor::updateIfNeededRecursiveInternal() {
updateIfNeeded();
lifecycle().advanceTo(DocumentLifecycle::CompositingClean);
+ Optional<CompositorElementIdSet> compositedAnimationElementIds;
DocumentAnimations::updateAnimations(m_layoutView.document(),
- DocumentLifecycle::CompositingClean);
+ DocumentLifecycle::CompositingClean,
+ compositedAnimationElementIds);
m_layoutView.frameView()
->getScrollableArea()

Powered by Google App Engine
This is Rietveld 408576698