Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 2690323002: Make Interaction Media Features MQ dynamic on Windows. (Closed)
Patch Set: Nit fix Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698