Index: chrome/browser/ui/constrained_window_tab_helper.cc |
diff --git a/chrome/browser/ui/constrained_window_tab_helper.cc b/chrome/browser/ui/constrained_window_tab_helper.cc |
index cc19569fd3d5bef15f1b984846649d51278e8613..fe72fec9182a74515bd45f167f5a433eb9d361ad 100644 |
--- a/chrome/browser/ui/constrained_window_tab_helper.cc |
+++ b/chrome/browser/ui/constrained_window_tab_helper.cc |
@@ -80,9 +80,9 @@ void ConstrainedWindowTabHelper::BlockTabContent(bool blocked) { |
// RenderViewHost may be NULL during shutdown. |
RenderViewHost* host = contents->GetRenderViewHost(); |
if (host) { |
- host->set_ignore_input_events(blocked); |
- host->Send( |
- new ChromeViewMsg_SetVisuallyDeemphasized(host->routing_id(), blocked)); |
+ host->SetIgnoreInputEvents(blocked); |
+ host->Send(new ChromeViewMsg_SetVisuallyDeemphasized( |
+ host->GetRoutingID(), blocked)); |
} |
if (delegate_) |
delegate_->SetTabContentBlocked(wrapper_, blocked); |