summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/constrained_window_tab_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/constrained_window_tab_helper.cc')
-rw-r--r--chrome/browser/ui/constrained_window_tab_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/constrained_window_tab_helper.cc b/chrome/browser/ui/constrained_window_tab_helper.cc
index 6b4fb99..6d37816 100644
--- a/chrome/browser/ui/constrained_window_tab_helper.cc
+++ b/chrome/browser/ui/constrained_window_tab_helper.cc
@@ -75,7 +75,7 @@ void ConstrainedWindowTabHelper::BlockTabContent(bool blocked) {
}
// RenderViewHost may be NULL during shutdown.
- RenderViewHost* host = contents->render_view_host();
+ RenderViewHost* host = contents->GetRenderViewHost();
if (host) {
host->set_ignore_input_events(blocked);
host->Send(