| Index: components/policy/core/common/schema.cc
|
| diff --git a/components/policy/core/common/schema.cc b/components/policy/core/common/schema.cc
|
| index cbfde46faf3374115c91a4ec670873c2cf43d7c5..b3e63d7f3b263e4e645baaeea9e1cb0ec58e5823 100644
|
| --- a/components/policy/core/common/schema.cc
|
| +++ b/components/policy/core/common/schema.cc
|
| @@ -74,6 +74,8 @@ Schema Schema::Iterator::schema() const {
|
| return Schema(it_->schema);
|
| }
|
|
|
| +Schema::Schema() : schema_(NULL) {}
|
| +
|
| Schema::Schema(const internal::SchemaNode* schema) : schema_(schema) {}
|
|
|
| Schema::Schema(const Schema& schema) : schema_(schema.schema_) {}
|
| @@ -112,7 +114,7 @@ Schema Schema::GetKnownProperty(const std::string& key) const {
|
| properties_node->begin, properties_node->end, key, CompareKeys);
|
| if (it != properties_node->end && it->key == key)
|
| return Schema(it->schema);
|
| - return Schema(NULL);
|
| + return Schema();
|
| }
|
|
|
| Schema Schema::GetAdditionalProperties() const {
|
|
|