Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / components / policy / core / common / schema.cc
index 7359938..4493170 100644 (file)
@@ -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());
 }