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

Unified Diff: content/browser/host_zoom_map_impl.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: content/browser/host_zoom_map_impl.cc
diff --git a/content/browser/host_zoom_map_impl.cc b/content/browser/host_zoom_map_impl.cc
index 4eab76d56b5d412578c553978f31ed7eb1661af8..97f15ddc7da338730a4a0f81b9d251b3f717f355 100644
--- a/content/browser/host_zoom_map_impl.cc
+++ b/content/browser/host_zoom_map_impl.cc
@@ -422,7 +422,7 @@ bool HostZoomMapImpl::PageScaleFactorIsOneForWebContents(
base::AutoLock auto_lock(lock_);
auto found = view_page_scale_factors_are_one_.find(
RenderViewKey(web_contents_impl.GetRenderProcessHost()->GetID(),
- web_contents_impl.GetRoutingID()));
+ web_contents_impl.GetRenderViewHost()->GetRoutingID()));
if (found == view_page_scale_factors_are_one_.end())
return true;
return found->second;
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/host_zoom_map_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698