Index: cc/trees/threaded_channel.cc |
diff --git a/cc/trees/threaded_channel.cc b/cc/trees/threaded_channel.cc |
index 5c0cb6f66120db94923f9ba66f6f4ae981a1b59c..4c3bccfb0ed9ea1d892f227a19cea6b75025a535 100644 |
--- a/cc/trees/threaded_channel.cc |
+++ b/cc/trees/threaded_channel.cc |
@@ -80,10 +80,13 @@ void ThreadedChannel::SetNeedsCommitOnImpl() { |
proxy_impl_->GetImplWeakPtr())); |
} |
-void ThreadedChannel::BeginMainFrameAbortedOnImpl(CommitEarlyOutReason reason) { |
+void ThreadedChannel::BeginMainFrameAbortedOnImpl( |
+ CommitEarlyOutReason reason, |
+ base::TimeTicks main_thread_start_time) { |
ImplThreadTaskRunner()->PostTask( |
FROM_HERE, base::Bind(&ProxyImpl::BeginMainFrameAbortedOnImpl, |
- proxy_impl_->GetImplWeakPtr(), reason)); |
+ proxy_impl_->GetImplWeakPtr(), reason, |
+ main_thread_start_time)); |
} |
void ThreadedChannel::SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) { |
@@ -92,10 +95,13 @@ void ThreadedChannel::SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) { |
proxy_impl_->GetImplWeakPtr(), damage_rect)); |
} |
-void ThreadedChannel::StartCommitOnImpl(CompletionEvent* completion) { |
+void ThreadedChannel::StartCommitOnImpl( |
+ CompletionEvent* completion, |
+ base::TimeTicks main_thread_start_time) { |
ImplThreadTaskRunner()->PostTask( |
- FROM_HERE, base::Bind(&ProxyImpl::StartCommitOnImpl, |
- proxy_impl_->GetImplWeakPtr(), completion)); |
+ FROM_HERE, |
+ base::Bind(&ProxyImpl::StartCommitOnImpl, proxy_impl_->GetImplWeakPtr(), |
+ completion, main_thread_start_time)); |
} |
void ThreadedChannel::SetVisibleOnImpl(CompletionEvent* completion, |