| Index: base/values.cc
|
| diff --git a/base/values.cc b/base/values.cc
|
| index cd0f6a81eef3737fde57fbbb9a022494fe80c94a..c6a377f63f0c386e3cca0dffcd9d8be26143d4e5 100644
|
| --- a/base/values.cc
|
| +++ b/base/values.cc
|
| @@ -133,6 +133,13 @@ bool Value::Equals(const Value* other) const {
|
| return other->IsType(TYPE_NULL);
|
| }
|
|
|
| +// static
|
| +bool Value::Equals(const Value* a, const Value* b) {
|
| + if ((a == NULL) && (b == NULL)) return true;
|
| + if ((a == NULL) ^ (b == NULL)) return false;
|
| + return a->Equals(b);
|
| +}
|
| +
|
| Value::Value(ValueType type) : type_(type) {
|
| }
|
|
|
|
|