| Index: sky/compositor/layer_host.cc
|
| diff --git a/sky/compositor/layer_host.cc b/sky/compositor/layer_host.cc
|
| index 36b3ec26e5cc34556cfd0dc6baee6cc7b3e65137..1739c78e41baeccd1feb408bc67206320aaebc1a 100644
|
| --- a/sky/compositor/layer_host.cc
|
| +++ b/sky/compositor/layer_host.cc
|
| @@ -42,6 +42,10 @@ void LayerHost::SetRootLayer(scoped_refptr<Layer> layer) {
|
| root_layer_->set_host(this);
|
| }
|
|
|
| +void LayerHost::GetPixelsForTesting(std::vector<unsigned char>* pixels) {
|
| + return root_layer_->GetPixelsForTesting(pixels);
|
| +}
|
| +
|
| void LayerHost::OnSurfaceConnectionCreated() {
|
| DCHECK_EQ(state_, kWaitingForSurfaceService);
|
| state_ = kReadyForFrame;
|
|
|