diff options
Diffstat (limited to 'chromium/third_party/pdfium/fpdfsdk/fpdf_ext.cpp')
-rw-r--r-- | chromium/third_party/pdfium/fpdfsdk/fpdf_ext.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/third_party/pdfium/fpdfsdk/fpdf_ext.cpp b/chromium/third_party/pdfium/fpdfsdk/fpdf_ext.cpp index 3bcb0c04b66..8773d680ea0 100644 --- a/chromium/third_party/pdfium/fpdfsdk/fpdf_ext.cpp +++ b/chromium/third_party/pdfium/fpdfsdk/fpdf_ext.cpp @@ -16,7 +16,7 @@ #include "core/fpdfdoc/cpdf_metadata.h" #include "core/fxcrt/fx_basic.h" #include "core/fxcrt/fx_memory.h" -#include "core/fxcrt/fx_xml.h" +#include "core/fxcrt/xml/cxml_element.h" #include "fpdfsdk/fsdk_define.h" #include "third_party/base/ptr_util.h" @@ -79,9 +79,10 @@ bool CheckSharedForm(const CXML_Element* pElement, CFX_ByteString cbName) { int count = pElement->CountAttrs(); int i = 0; for (i = 0; i < count; i++) { - CFX_ByteString space, name; + CFX_ByteString space; + CFX_ByteString name; CFX_WideString value; - pElement->GetAttrByIndex(i, space, name, value); + pElement->GetAttrByIndex(i, &space, &name, &value); if (space == "xmlns" && name == "adhocwf" && value == L"http://ns.adobe.com/AcrobatAdhocWorkflow/1.0/") { CXML_Element* pVersion = |