dict_copy->SetWithoutPathExpansion(it.key(),
SmartDeepCopy(child).release());
}
- return dict_copy.PassAs<base::Value>();
+ return dict_copy.Pass();
} else if (value->GetAsList(&list)) {
scoped_ptr<base::ListValue> list_copy(new base::ListValue());
for (size_t i = 0; i < list->GetSize(); ++i) {
}
list_copy->Append(SmartDeepCopy(child).release());
}
- return list_copy.PassAs<base::Value>();
+ return list_copy.Pass();
} else if (value->GetAsString(&data)) {
TruncateString(&data);
return scoped_ptr<base::Value>(new base::StringValue(data));