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

Unified Diff: content/browser/host_zoom_map_impl.cc

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/update Created 4 years, 5 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/host_zoom_map_impl.cc
diff --git a/content/browser/host_zoom_map_impl.cc b/content/browser/host_zoom_map_impl.cc
index 916cec4158c4067517bf8b12b507f544afa7ad4e..edf1f78ca7e78d840501b2ba2ed967fab71944ea 100644
--- a/content/browser/host_zoom_map_impl.cc
+++ b/content/browser/host_zoom_map_impl.cc
@@ -297,7 +297,7 @@ void HostZoomMapImpl::SetDefaultZoomLevel(double level) {
// Second, update zoom levels for all pages that do not have an overriding
// entry.
- for (auto web_contents : WebContentsImpl::GetAllWebContents()) {
+ for (auto* web_contents : WebContentsImpl::GetAllWebContents()) {
// Only change zoom for WebContents tied to the StoragePartition this
// HostZoomMap serves.
if (GetForWebContents(web_contents) != this)
@@ -531,7 +531,7 @@ void HostZoomMapImpl::SendZoomLevelChange(const std::string& scheme,
// other case of interest is where the renderer is hosting a plugin document;
// that should be reflected in our temporary zoom level map, but we will
// double check on the renderer side to avoid the possibility of any races.
- for (auto web_contents : WebContentsImpl::GetAllWebContents()) {
+ for (auto* web_contents : WebContentsImpl::GetAllWebContents()) {
// Only send zoom level changes to WebContents that are using this
// HostZoomMap.
if (GetForWebContents(web_contents) != this)
« no previous file with comments | « content/browser/geolocation/network_location_request.cc ('k') | content/browser/indexed_db/indexed_db_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698