Commit 78c3f601 authored by Fernando Serboncini's avatar Fernando Serboncini Committed by Commit Bot

Make sure another BeginFrame happens if skip executing callbacks.

TBR=khushalsagar

Bug: 995235
Change-Id: Icd9cc8165836cf97a852869e296599f887ed9a70
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1835197
Commit-Queue: Fernando Serboncini <fserb@chromium.org>
Reviewed-by: default avatarFernando Serboncini <fserb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702045}
parent 16c7ca2d
......@@ -56,6 +56,7 @@ void WorkerAnimationFrameProvider::BeginFrame(const viz::BeginFrameArgs& args) {
// we abort the whole process.
if (!inside_raf_scope.AddOffscreenCanvas(offscreen_canvas)) {
provider->begin_frame_provider_->FinishBeginFrame(args);
provider->begin_frame_provider_->RequestBeginFrame();
return;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment