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

Unified Diff: content/browser/loader/async_resource_handler.cc

Issue 11866004: Add scheme to HostZoomMap (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add namespace Created 7 years, 9 months 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/loader/async_resource_handler.cc
diff --git a/content/browser/loader/async_resource_handler.cc b/content/browser/loader/async_resource_handler.cc
index da6fa8eafabf2cd4a8090d9b1a5848b3438ab8e1..fbb1c8a1fce1c0386dd7d63fabdfaa6a4788144a 100644
--- a/content/browser/loader/async_resource_handler.cc
+++ b/content/browser/loader/async_resource_handler.cc
@@ -184,8 +184,9 @@ bool AsyncResourceHandler::OnResponseStarted(int request_id,
const GURL& request_url = request_->url();
filter_->Send(new ViewMsg_SetZoomLevelForLoadingURL(
info->GetRouteID(),
- request_url, host_zoom_map->GetZoomLevel(net::GetHostOrSpecFromURL(
- request_url))));
+ request_url, host_zoom_map->GetZoomLevelForHostAndScheme(
+ request_url.scheme(),
+ net::GetHostOrSpecFromURL(request_url))));
}
response->head.request_start = request_->creation_time();
« no previous file with comments | « content/browser/host_zoom_map_impl_unittest.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698