We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b09d379 commit 2419957Copy full SHA for 2419957
chromium/third_party/blink/renderer/core/frame/local_frame_view.cc
@@ -2766,11 +2766,14 @@ void LocalFrameView::RunPaintLifecyclePhase() {
2766
for (PaintLayerScrollableArea* area : *animating_scrollable_areas)
2767
area->UpdateCompositorScrollAnimations();
2768
}
2769
- frame_view.GetLayoutView()
2770
- ->GetDocument()
2771
- .GetDocumentAnimations()
2772
- .UpdateAnimations(DocumentLifecycle::kPaintClean,
2773
- paint_artifact_compositor_.get());
+ {
+ ScriptForbiddenScope forbid_script;
+ frame_view.GetLayoutView()
+ ->GetDocument()
+ .GetDocumentAnimations()
2774
+ .UpdateAnimations(DocumentLifecycle::kPaintClean,
2775
+ paint_artifact_compositor_.get());
2776
+ }
2777
});
2778
2779
// Initialize animation properties in the newly created paint property
0 commit comments