Index: chrome/test/chromedriver/chrome/log.cc |
diff --git a/chrome/test/chromedriver/chrome/log.cc b/chrome/test/chromedriver/chrome/log.cc |
index 93024c02e88ccb1f2cb7e1244c0e26247381383a..c428aabb1854ae2520ada25df81dd9aae7074a56 100644 |
--- a/chrome/test/chromedriver/chrome/log.cc |
+++ b/chrome/test/chromedriver/chrome/log.cc |
@@ -53,8 +53,7 @@ std::unique_ptr<base::Value> SmartDeepCopy(const base::Value* value) { |
} |
const base::Value* child = NULL; |
dict->GetWithoutPathExpansion(it.key(), &child); |
- dict_copy->SetWithoutPathExpansion(it.key(), |
- SmartDeepCopy(child).release()); |
+ dict_copy->SetWithoutPathExpansion(it.key(), SmartDeepCopy(child)); |
} |
return std::move(dict_copy); |
} else if (value->GetAsList(&list)) { |