| Index: chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc
|
| diff --git a/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc b/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc
|
| index ebcf75c637ae4a5bf068befe64f6ee70a6106b22..e99d63f5101a9b484e039ad5ada5dc1b47919d21 100644
|
| --- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc
|
| +++ b/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc
|
| @@ -350,7 +350,7 @@ scoped_ptr<DictionaryValue> GetDictionaryFromArray(
|
| Value* entry = NULL;
|
| ListValue* list = NULL;
|
| if (!dictionary->GetWithoutPathExpansion(*name, &entry))
|
| - return scoped_ptr<DictionaryValue>(NULL);
|
| + return scoped_ptr<DictionaryValue>();
|
| switch (entry->GetType()) {
|
| case Value::TYPE_STRING: // Replace the present string with a list.
|
| list = new ListValue;
|
| @@ -366,7 +366,7 @@ scoped_ptr<DictionaryValue> GetDictionaryFromArray(
|
| break;
|
| default:
|
| NOTREACHED(); // We never put other Values here.
|
| - return scoped_ptr<DictionaryValue>(NULL);
|
| + return scoped_ptr<DictionaryValue>();
|
| }
|
| } else {
|
| dictionary->SetString(*name, *value);
|
|
|