Index: sky/compositor/layer_host.cc |
diff --git a/sky/compositor/layer_host.cc b/sky/compositor/layer_host.cc |
index d8ca387d14221320dee141676f9ec7cfabd25951..697ed265f06754973f5545d12c0daa613f1a7314 100644 |
--- a/sky/compositor/layer_host.cc |
+++ b/sky/compositor/layer_host.cc |
@@ -39,11 +39,6 @@ void LayerHost::SetNeedsAnimate() { |
void LayerHost::SetRootLayer(scoped_refptr<Layer> layer) { |
DCHECK(!root_layer_.get()); |
root_layer_ = layer; |
- root_layer_->set_host(this); |
-} |
- |
-void LayerHost::GetPixelsForTesting(std::vector<unsigned char>* pixels) { |
- return root_layer_->GetPixelsForTesting(pixels); |
} |
void LayerHost::OnSurfaceIdAvailable(mojo::SurfaceIdPtr surface_id) { |