Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index 2e5c40c51b3a27647263973f3e0e4f55ac280c45..bf130112902f6598eb2d3be896664a0ca5dbdb4d 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -234,6 +234,8 @@ RenderViewHostImpl::RenderViewHostImpl( |
close_timeout_.reset(new TimeoutMonitor(base::Bind( |
&RenderViewHostImpl::ClosePageTimeout, weak_factory_.GetWeakPtr()))); |
+ |
+ input_device_change_observer_.reset(new InputDeviceChangeObserver(this)); |
} |
RenderViewHostImpl::~RenderViewHostImpl() { |
@@ -244,7 +246,6 @@ RenderViewHostImpl::~RenderViewHostImpl() { |
base::Unretained(ResourceDispatcherHostImpl::Get()), |
GetProcess()->GetID(), GetRoutingID())); |
} |
- |
delegate_->RenderViewDeleted(this); |
GetProcess()->RemoveObserver(this); |
} |