summaryrefslogtreecommitdiffstats
path: root/chromium/cc/trees/single_thread_proxy.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-11 11:32:04 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-18 13:40:17 +0000
commit31ccca0778db85c159634478b4ec7997f6704860 (patch)
tree3d33fc3afd9d5ec95541e1bbe074a9cf8da12a0e /chromium/cc/trees/single_thread_proxy.cc
parent248b70b82a40964d5594eb04feca0fa36716185d (diff)
BASELINE: Update Chromium to 80.0.3987.136
Change-Id: I98e1649aafae85ba3a83e67af00bb27ef301db7b Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'chromium/cc/trees/single_thread_proxy.cc')
-rw-r--r--chromium/cc/trees/single_thread_proxy.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/chromium/cc/trees/single_thread_proxy.cc b/chromium/cc/trees/single_thread_proxy.cc
index 64cf02bdbf2..2a235b6dd90 100644
--- a/chromium/cc/trees/single_thread_proxy.cc
+++ b/chromium/cc/trees/single_thread_proxy.cc
@@ -195,8 +195,9 @@ void SingleThreadProxy::DoCommit() {
layer_tree_host_->FinishCommitOnImplThread(host_impl_.get());
- if (scheduler_on_impl_thread_)
+ if (scheduler_on_impl_thread_) {
scheduler_on_impl_thread_->DidCommit();
+ }
IssueImageDecodeFinishedCallbacks();
host_impl_->CommitComplete();
@@ -872,8 +873,10 @@ void SingleThreadProxy::DoPainting() {
// TODO(enne): SingleThreadProxy does not support cancelling commits yet,
// search for CommitEarlyOutReason::FINISHED_NO_UPDATES inside
// thread_proxy.cc
- if (scheduler_on_impl_thread_)
- scheduler_on_impl_thread_->NotifyReadyToCommit();
+ if (scheduler_on_impl_thread_) {
+ scheduler_on_impl_thread_->NotifyReadyToCommit(
+ layer_tree_host_->begin_main_frame_metrics());
+ }
}
void SingleThreadProxy::BeginMainFrameAbortedOnImplThread(