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
/
third_party
/
pdfium
/
core
/
src
/
fpdfdoc
/
doc_formfield.cpp
diff --git
a/src/third_party/pdfium/core/src/fpdfdoc/doc_formfield.cpp
b/src/third_party/pdfium/core/src/fpdfdoc/doc_formfield.cpp
index
eeba372
..
a2f0fbd
100644
(file)
--- a/
src/third_party/pdfium/core/src/fpdfdoc/doc_formfield.cpp
+++ b/
src/third_party/pdfium/core/src/fpdfdoc/doc_formfield.cpp
@@
-324,7
+324,9
@@
CFX_WideString CPDF_FormField::GetValue(FX_BOOL bDefault)
return pValue->GetUnicodeText();
case PDFOBJ_ARRAY:
pValue = ((CPDF_Array*)pValue)->GetElementValue(0);
- return pValue->GetUnicodeText();
+ if (pValue) {
+ return pValue->GetUnicodeText();
+ }
break;
}
return CFX_WideString();