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

Unified Diff: content/common/url_schemes.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase Created 3 years, 10 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/common/url_schemes.cc
diff --git a/content/common/url_schemes.cc b/content/common/url_schemes.cc
index e2a9a2edad91c48c94a73bc4311089cc66c1e327..29a3c85f5bc85c9781189e7e99ef95f611dc5a44 100644
--- a/content/common/url_schemes.cc
+++ b/content/common/url_schemes.cc
@@ -79,7 +79,7 @@ void RegisterContentSchemes(bool lock_schemes) {
// Combine the default savable schemes with the additional ones given.
delete savable_schemes;
savable_schemes = new std::vector<std::string>;
- for (auto& default_scheme : kDefaultSavableSchemes)
+ for (auto* default_scheme : kDefaultSavableSchemes)
savable_schemes->push_back(default_scheme);
savable_schemes->insert(savable_schemes->end(),
schemes.savable_schemes.begin(),
« no previous file with comments | « content/browser/websockets/websocket_manager.cc ('k') | content/renderer/image_downloader/image_downloader_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698