Index: chrome/browser/android/tab_android.cc |
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc |
index 272134031a50e5f5f4e9fc6aaad08e318256f6de..b43fe922ffce205f6e61dc3f3ab80f48c055e45e 100644 |
--- a/chrome/browser/android/tab_android.cc |
+++ b/chrome/browser/android/tab_android.cc |
@@ -758,7 +758,8 @@ void TabAndroid::UpdateBrowserControlsState(JNIEnv* env, |
static_cast<content::BrowserControlsState>(current); |
WebContents* sender = web_contents(); |
sender->Send(new ChromeViewMsg_UpdateBrowserControlsState( |
- sender->GetRoutingID(), constraints_state, current_state, animate)); |
+ sender->GetRenderViewHost()->GetRoutingID(), constraints_state, |
+ current_state, animate)); |
if (sender->ShowingInterstitialPage()) { |
content::RenderViewHost* interstitial_view_host = |