| Index: base/values.h
|
| diff --git a/base/values.h b/base/values.h
|
| index ca046f164214c0109177b7e0bfebaf8508d16e73..e32edecf2ec347d3c146a86920cbec389f584147 100644
|
| --- a/base/values.h
|
| +++ b/base/values.h
|
| @@ -64,7 +64,7 @@ class BASE_EXPORT Value {
|
|
|
| virtual ~Value();
|
|
|
| - static Value* CreateNullValue();
|
| + static scoped_ptr<Value> CreateNullValue();
|
|
|
| // Returns the type of the value stored by the current Value object.
|
| // Each type will be implemented by only one subclass of Value, so it's
|
| @@ -494,6 +494,9 @@ class BASE_EXPORT ListValue : public Value {
|
| ListValue* DeepCopy() const override;
|
| bool Equals(const Value* other) const override;
|
|
|
| + // Preferred version of DeepCopy. TODO(estade): remove DeepCopy.
|
| + scoped_ptr<ListValue> CreateDeepCopy() const;
|
| +
|
| private:
|
| ValueVector list_;
|
|
|
|
|