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

Unified Diff: chrome/browser/android/tab_android.cc

Issue 2515823002: Remove WebContents::GetRoutingID(). (Closed)
Patch Set: add render_view_host.h include in resource_dispatcher_host_unittest.cc Created 4 years, 1 month 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: 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 =
« no previous file with comments | « chrome/browser/android/download/download_controller.cc ('k') | chrome/browser/download/download_resource_throttle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698