Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: extensions/browser/api/declarative/declarative_api.cc

Issue 2838893002: Remove base::ListValue::Set(size_t, base::Value*) (Closed)
Patch Set: Fix Compilation Error Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/api/declarative/declarative_api.cc
diff --git a/extensions/browser/api/declarative/declarative_api.cc b/extensions/browser/api/declarative/declarative_api.cc
index 863f92edd146366231b0c887aaed1a7889d5b589..8049813f6c18121e5084c8aa23cc54f4a13e53e0 100644
--- a/extensions/browser/api/declarative/declarative_api.cc
+++ b/extensions/browser/api/declarative/declarative_api.cc
@@ -58,7 +58,7 @@ void ConvertBinaryListElementsToBase64(base::ListValue* args) {
if (iter->IsType(base::Value::Type::BINARY)) {
base::Value* binary = NULL;
if (args->GetBinary(index, &binary))
- args->Set(index, ConvertBinaryToBase64(binary).release());
+ args->Set(index, ConvertBinaryToBase64(binary));
} else if (iter->IsType(base::Value::Type::LIST)) {
base::ListValue* list;
iter->GetAsList(&list);
« no previous file with comments | « content/common/common_param_traits_unittest.cc ('k') | extensions/browser/api/device_permissions_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698