summaryrefslogtreecommitdiffstats
path: root/chromium/cc/trees/single_thread_proxy.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/cc/trees/single_thread_proxy.cc
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/cc/trees/single_thread_proxy.cc')
-rw-r--r--chromium/cc/trees/single_thread_proxy.cc24
1 files changed, 4 insertions, 20 deletions
diff --git a/chromium/cc/trees/single_thread_proxy.cc b/chromium/cc/trees/single_thread_proxy.cc
index 6f469a42c4e..c5449d5e85a 100644
--- a/chromium/cc/trees/single_thread_proxy.cc
+++ b/chromium/cc/trees/single_thread_proxy.cc
@@ -415,26 +415,10 @@ void SingleThreadProxy::SetVideoNeedsBeginFrames(bool needs_begin_frames) {
scheduler_on_impl_thread_->SetVideoNeedsBeginFrames(needs_begin_frames);
}
-size_t SingleThreadProxy::CompositedAnimationsCount() const {
- return 0;
-}
-
-size_t SingleThreadProxy::MainThreadAnimationsCount() const {
- return 0;
-}
-
bool SingleThreadProxy::HasCustomPropertyAnimations() const {
return false;
}
-bool SingleThreadProxy::CurrentFrameHadRAF() const {
- return false;
-}
-
-bool SingleThreadProxy::NextFrameHasPendingRAF() const {
- return false;
-}
-
bool SingleThreadProxy::IsInsideDraw() {
return inside_draw_;
}
@@ -635,7 +619,7 @@ void SingleThreadProxy::CompositeImmediately(base::TimeTicks frame_begin_time,
// another draw will never be scheduled, so break remaining promises.
host_impl_->active_tree()->BreakSwapPromises(SwapPromise::SWAP_FAILS);
- DidFinishImplFrame();
+ DidFinishImplFrame(begin_frame_args);
}
}
@@ -958,9 +942,9 @@ void SingleThreadProxy::ScheduledActionPerformImplSideInvalidation() {
NotifyReadyToActivate();
}
-void SingleThreadProxy::DidFinishImplFrame() {
- host_impl_->DidFinishImplFrame(
- scheduler_on_impl_thread_->last_activate_origin_frame_args());
+void SingleThreadProxy::DidFinishImplFrame(
+ const viz::BeginFrameArgs& last_activated_args) {
+ host_impl_->DidFinishImplFrame(last_activated_args);
#if DCHECK_IS_ON()
DCHECK(inside_impl_frame_)
<< "DidFinishImplFrame called while not inside an impl frame!";