| Index: cc/trees/threaded_channel.cc
|
| diff --git a/cc/trees/threaded_channel.cc b/cc/trees/threaded_channel.cc
|
| index 40c5ef2fb7fdcef33aae0df67219fa43c4a1016b..b723f8c612a93f880182836b0887bc76bed6d66c 100644
|
| --- a/cc/trees/threaded_channel.cc
|
| +++ b/cc/trees/threaded_channel.cc
|
| @@ -92,10 +92,28 @@ void ThreadedChannel::SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) {
|
| proxy_impl_->GetImplWeakPtr(), damage_rect));
|
| }
|
|
|
| -void ThreadedChannel::StartCommitOnImpl(CompletionEvent* completion) {
|
| +void ThreadedChannel::StartCommitOnImpl(CompletionEvent* completion,
|
| + LayerTreeHost* layer_tree_host,
|
| + bool hold_commit_for_activation) {
|
| ImplThreadTaskRunner()->PostTask(
|
| - FROM_HERE, base::Bind(&ProxyImpl::StartCommitOnImpl,
|
| + FROM_HERE,
|
| + base::Bind(&ProxyImpl::StartCommitOnImpl, proxy_impl_->GetImplWeakPtr(),
|
| + completion, layer_tree_host, hold_commit_for_activation));
|
| +}
|
| +
|
| +void ThreadedChannel::InitializeImplOnImpl(CompletionEvent* completion,
|
| + LayerTreeHost* layer_tree_host) {
|
| + ImplThreadTaskRunner()->PostTask(
|
| + FROM_HERE,
|
| + base::Bind(&ProxyImpl::InitializeImplOnImpl,
|
| + base::Unretained(proxy_impl_), completion, layer_tree_host));
|
| +}
|
| +
|
| +void ThreadedChannel::LayerTreeHostClosedOnImpl(CompletionEvent* completion) {
|
| + ImplThreadTaskRunner()->PostTask(
|
| + FROM_HERE, base::Bind(&ProxyImpl::LayerTreeHostClosedOnImpl,
|
| proxy_impl_->GetImplWeakPtr(), completion));
|
| + proxy_impl_ = nullptr;
|
| }
|
|
|
| void ThreadedChannel::SetVisibleOnImpl(bool visible) {
|
|
|