Index: chrome/test/chromedriver/chrome/log.cc |
diff --git a/chrome/test/chromedriver/chrome/log.cc b/chrome/test/chromedriver/chrome/log.cc |
index a14e8fc385f0099ccd9c2b7926304559efb24839..c564acbbfa698b7d79e3d53ee7aefd342de1fe5b 100644 |
--- a/chrome/test/chromedriver/chrome/log.cc |
+++ b/chrome/test/chromedriver/chrome/log.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/test/chromedriver/chrome/log.h" |
#include <stddef.h> |
+#include <utility> |
#include "base/json/json_reader.h" |
#include "base/json/json_writer.h" |
@@ -52,7 +53,7 @@ scoped_ptr<base::Value> SmartDeepCopy(const base::Value* value) { |
dict_copy->SetWithoutPathExpansion(it.key(), |
SmartDeepCopy(child).release()); |
} |
- return dict_copy.Pass(); |
+ return std::move(dict_copy); |
} else if (value->GetAsList(&list)) { |
scoped_ptr<base::ListValue> list_copy(new base::ListValue()); |
for (size_t i = 0; i < list->GetSize(); ++i) { |
@@ -65,7 +66,7 @@ scoped_ptr<base::Value> SmartDeepCopy(const base::Value* value) { |
} |
list_copy->Append(SmartDeepCopy(child).release()); |
} |
- return list_copy.Pass(); |
+ return std::move(list_copy); |
} else if (value->GetAsString(&data)) { |
TruncateString(&data); |
return scoped_ptr<base::Value>(new base::StringValue(data)); |