Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 708318756cfd4c9ee5694ae3748f6305ad1aaf53..8e51cba868eb269257c48b88b5a5e44081121134 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -475,10 +475,6 @@ scoped_ptr<OutputSurface> LayerTreeHost::CreateOutputSurface() { |
return client_->CreateOutputSurface(); |
} |
-scoped_ptr<InputHandlerClient> LayerTreeHost::CreateInputHandlerClient() { |
- return client_->CreateInputHandlerClient(); |
-} |
- |
scoped_ptr<LayerTreeHostImpl> LayerTreeHost::CreateLayerTreeHostImpl( |
LayerTreeHostImplClient* client) { |
DCHECK(proxy_->IsImplThread()); |
@@ -492,6 +488,7 @@ scoped_ptr<LayerTreeHostImpl> LayerTreeHost::CreateLayerTreeHostImpl( |
top_controls_manager_weak_ptr_ = |
host_impl->top_controls_manager()->AsWeakPtr(); |
} |
+ input_handler_weak_ptr_ = host_impl->AsWeakPtr(); |
return host_impl.Pass(); |
} |