Index: components/cronet/url_request_context_config.cc |
diff --git a/components/cronet/url_request_context_config.cc b/components/cronet/url_request_context_config.cc |
index 32b845c753a216f2fe293b95af98a21e16945393..892fd578dc341e083e50130329dcd210bc285f9a 100644 |
--- a/components/cronet/url_request_context_config.cc |
+++ b/components/cronet/url_request_context_config.cc |
@@ -4,6 +4,8 @@ |
#include "components/cronet/url_request_context_config.h" |
+#include <utility> |
+ |
#include "base/json/json_reader.h" |
#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
@@ -55,7 +57,7 @@ void ParseAndSetExperimentalOptions( |
} |
scoped_ptr<base::DictionaryValue> dict = |
- base::DictionaryValue::From(options.Pass()); |
+ base::DictionaryValue::From(std::move(options)); |
if (!dict) { |
DCHECK(false) << "Experimental options string is not a dictionary: " |
@@ -200,7 +202,7 @@ void URLRequestContextConfig::ConfigureURLRequestContextBuilder( |
net_log); |
if (mock_cert_verifier) |
- context_builder->SetCertVerifier(mock_cert_verifier.Pass()); |
+ context_builder->SetCertVerifier(std::move(mock_cert_verifier)); |
// TODO(mef): Use |config| to set cookies. |
} |