Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 7b0972645a5a0157c49564324626a6dd5b7dfbbd..d0c207c006f6006ad6b4d90c79fb26e8db81f6c1 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -472,10 +472,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()); |
@@ -489,6 +485,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(); |
} |