Index: sky/compositor/layer_host.cc |
diff --git a/sky/compositor/layer_host.cc b/sky/compositor/layer_host.cc |
index 36b3ec26e5cc34556cfd0dc6baee6cc7b3e65137..7858f7dc2f3372be271086186afc4718af36a65c 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); |
} |
+std::string LayerHost::GetPixelsForTesting() { |
+ return root_layer_->GetPixelsForTesting(); |
+} |
+ |
void LayerHost::OnSurfaceConnectionCreated() { |
DCHECK_EQ(state_, kWaitingForSurfaceService); |
state_ = kReadyForFrame; |