projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
components
/
policy
/
core
/
common
/
schema.cc
diff --git
a/src/components/policy/core/common/schema.cc
b/src/components/policy/core/common/schema.cc
index
7359938
..
4493170
100644
(file)
--- a/
src/components/policy/core/common/schema.cc
+++ b/
src/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());
}