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

Unified Diff: content/browser/host_zoom_map_impl_browsertest.cc

Issue 2515823002: Remove WebContents::GetRoutingID(). (Closed)
Patch Set: removed faulty and conflicting change from print_preview_handler.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: content/browser/host_zoom_map_impl_browsertest.cc
diff --git a/content/browser/host_zoom_map_impl_browsertest.cc b/content/browser/host_zoom_map_impl_browsertest.cc
index c4f6120f8627bc6d064b63e59c98045aa2f17219..fd631fc5758e23e2eb4d3eb1c63a7329559a5330 100644
--- a/content/browser/host_zoom_map_impl_browsertest.cc
+++ b/content/browser/host_zoom_map_impl_browsertest.cc
@@ -32,7 +32,7 @@ void RunTestForURL(const GURL& url,
HostZoomMapImpl* host_zoom_map = static_cast<HostZoomMapImpl*>(
HostZoomMap::GetForWebContents(web_contents));
- int view_id = web_contents->GetRoutingID();
+ int view_id = web_contents->GetRenderViewHost()->GetRoutingID();
int render_process_id = web_contents->GetRenderProcessHost()->GetID();
// Assume caller has set the zoom level to |host_zoom_level| using

Powered by Google App Engine
This is Rietveld 408576698