
Some cc_unittests expect to be able to draw without a valid BeginFrame, by using faked BeginFrameArgs for testing. We need to send these BeginFrameArgs to the LayerContextImpl too, otherwise there can be a race where LayerContextImpl tries to draw without ever having received valid BeginFrameArgs. This fixes running the *RunSingleThread_DelegatingRenderer tests. Bug: 389147356 Change-Id: I9901c654f1853524797c53fef4110e3cf341eec0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6344045 Auto-Submit: Victor Miura <vmiura@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Commit-Queue: Alex Gough <ajgo@chromium.org> Reviewed-by: Alex Gough <ajgo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1431700}