Commit 4e388dd1 authored by vmpstr's avatar vmpstr Committed by Commit bot

chrome/common: Change auto to not deduce raw pointers.

This patch updates the code to prevent auto deducing to a raw pointer.

R=dsinclair, jochen
BUG=554600

Review-Url: https://codereview.chromium.org/2184913006
Cr-Commit-Position: refs/heads/master@{#408718}
parent 97d674fe
......@@ -502,7 +502,7 @@ content::PepperPluginInfo* ChromeContentClient::FindMostRecentPlugin(
std::map<PluginSortKey, content::PepperPluginInfo*> plugin_map;
for (const auto& plugin : plugins) {
for (auto* plugin : plugins) {
Version version(plugin->version);
DCHECK(version.IsValid());
plugin_map[PluginSortKey(version, plugin->is_debug,
......
......@@ -89,7 +89,7 @@ bool IsTraceEventArgsWhitelisted(
}
bool IsMetadataWhitelisted(const std::string& metadata_name) {
for (auto key : kMetadataWhitelist) {
for (auto* key : kMetadataWhitelist) {
if (base::MatchPattern(metadata_name, key)) {
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment