File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
chromium/third_party/blink/renderer/core/frame Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2766,11 +2766,14 @@ void LocalFrameView::RunPaintLifecyclePhase() {
2766
2766
for (PaintLayerScrollableArea* area : *animating_scrollable_areas)
2767
2767
area->UpdateCompositorScrollAnimations ();
2768
2768
}
2769
- frame_view.GetLayoutView ()
2770
- ->GetDocument ()
2771
- .GetDocumentAnimations ()
2772
- .UpdateAnimations (DocumentLifecycle::kPaintClean ,
2773
- paint_artifact_compositor_.get ());
2769
+ {
2770
+ ScriptForbiddenScope forbid_script;
2771
+ frame_view.GetLayoutView ()
2772
+ ->GetDocument ()
2773
+ .GetDocumentAnimations ()
2774
+ .UpdateAnimations (DocumentLifecycle::kPaintClean ,
2775
+ paint_artifact_compositor_.get ());
2776
+ }
2774
2777
});
2775
2778
2776
2779
// Initialize animation properties in the newly created paint property
You can’t perform that action at this time.
0 commit comments