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

Unified Diff: remoting/host/host_extension_session_manager.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
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_extension_session_manager.cc
diff --git a/remoting/host/host_extension_session_manager.cc b/remoting/host/host_extension_session_manager.cc
index ac06b4fc20b505bee51ab43d6ee3f0bc12caeffe..07f0a1effe09a5a60ce11aef332baa0e3ab0b6b2 100644
--- a/remoting/host/host_extension_session_manager.cc
+++ b/remoting/host/host_extension_session_manager.cc
@@ -23,7 +23,7 @@ HostExtensionSessionManager::~HostExtensionSessionManager() {}
std::string HostExtensionSessionManager::GetCapabilities() const {
std::string capabilities;
- for (const auto& extension : extensions_) {
+ for (auto* extension : extensions_) {
const std::string& capability = extension->capability();
if (capability.empty()) {
continue;
@@ -44,7 +44,7 @@ void HostExtensionSessionManager::OnNegotiatedCapabilities(
client_stub_ = client_stub;
- for (const auto& extension : extensions_) {
+ for (auto* extension : extensions_) {
// If the extension requires a capability that was not negotiated then do
// not instantiate it.
if (!extension->capability().empty() &&
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698