Index: components/policy/core/common/schema.cc |
diff --git a/components/policy/core/common/schema.cc b/components/policy/core/common/schema.cc |
index 7359938f3d9acc9e17754cbe3b111e0c3ed1f9f1..44931707d2266e24af91ce2e1b902a0d5ea31375 100644 |
--- a/components/policy/core/common/schema.cc |
+++ b/components/policy/core/common/schema.cc |
@@ -975,7 +975,7 @@ Schema Schema::Parse(const std::string& content, std::string* error) { |
scoped_refptr<const InternalStorage> storage = |
InternalStorage::ParseSchema(*dict, error); |
- if (!storage) |
+ if (!storage.get()) |
return Schema(); |
return Schema(storage, storage->root_node()); |
} |