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

Unified Diff: android_webview/native/aw_contents.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
« no previous file with comments | « no previous file | chrome/browser/android/download/download_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index 688d55ef4aec276daeac73b92f9f33fdab4c2002..c2e0ea457aacae08a5943ff4521b0f905fdb5799 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -196,7 +196,8 @@ AwContents::AwContents(std::unique_ptr<WebContents> web_contents)
if (web_contents_->GetRenderProcessHost() &&
web_contents_->GetRenderViewHost()) {
compositor_id.process_id = web_contents_->GetRenderProcessHost()->GetID();
- compositor_id.routing_id = web_contents_->GetRoutingID();
+ compositor_id.routing_id =
+ web_contents_->GetRenderViewHost()->GetRoutingID();
}
browser_view_renderer_.SetActiveCompositorID(compositor_id);
« no previous file with comments | « no previous file | chrome/browser/android/download/download_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698