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

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

Issue 2724083002: [SPv2] Decomposite otherwise-compositable animations that paint nothing. (Closed)
Patch Set: Update expectations. Created 3 years, 8 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 0f8ccd2f8d36817115642cca37ef41e4df76d5e6..731db78a0668000760fad697dfca05e70c6adcce 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -68,6 +68,7 @@
#include "platform/graphics/paint/TransformDisplayItem.h"
#include "platform/instrumentation/tracing/TraceEvent.h"
#include "platform/json/JSONValues.h"
+#include "wtf/Optional.h"
namespace blink {
@@ -227,8 +228,10 @@ void PaintLayerCompositor::updateIfNeededRecursiveInternal() {
updateIfNeeded();
lifecycle().advanceTo(DocumentLifecycle::CompositingClean);
+ Optional<CompositorElementIdSet> compositedElementIds;
DocumentAnimations::updateAnimations(m_layoutView.document(),
- DocumentLifecycle::CompositingClean);
+ DocumentLifecycle::CompositingClean,
+ compositedElementIds);
m_layoutView.frameView()
->getScrollableArea()
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698