Index: net/base/sdch_net_log_params.cc |
diff --git a/net/base/sdch_net_log_params.cc b/net/base/sdch_net_log_params.cc |
index 81f84760d815c9f4f86604810f514a107532c970..c8027427d3a71fbb6ea5a9eb4097e6f01f9769c3 100644 |
--- a/net/base/sdch_net_log_params.cc |
+++ b/net/base/sdch_net_log_params.cc |
@@ -4,6 +4,8 @@ |
#include "net/base/sdch_net_log_params.h" |
+#include <utility> |
+ |
#include "base/values.h" |
#include "net/base/net_errors.h" |
#include "url/gurl.h" |
@@ -16,7 +18,7 @@ scoped_ptr<base::Value> NetLogSdchResourceProblemCallback( |
scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); |
dict->SetInteger("sdch_problem_code", problem); |
dict->SetInteger("net_error", ERR_FAILED); |
- return dict.Pass(); |
+ return std::move(dict); |
} |
scoped_ptr<base::Value> NetLogSdchDictionaryFetchProblemCallback( |
@@ -29,7 +31,7 @@ scoped_ptr<base::Value> NetLogSdchDictionaryFetchProblemCallback( |
dict->SetString("dictionary_url", url.spec()); |
if (is_error) |
dict->SetInteger("net_error", ERR_FAILED); |
- return dict.Pass(); |
+ return std::move(dict); |
} |
} // namespace net |