| 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() &&
|
|
|