summaryrefslogtreecommitdiff
path: root/testing/embedder_test.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-12-19 10:02:06 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-19 10:02:06 -0800
commit0fdeeb8175560ce6bbd8bbc14120cc75ea3a2d67 (patch)
treecd36aa5f757f89a0d4aa3c7e5cb45515d6887a33 /testing/embedder_test.cpp
parentda587fab57602e5e10c058e6e632df513fba0c93 (diff)
downloadpdfium-0fdeeb8175560ce6bbd8bbc14120cc75ea3a2d67.tar.xz
Relax the EncryptMetadata check.chromium/2957
BUG=pdfium:644 Review-Url: https://codereview.chromium.org/2581873002
Diffstat (limited to 'testing/embedder_test.cpp')
-rw-r--r--testing/embedder_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp
index bc4c027c66..79074153fb 100644
--- a/testing/embedder_test.cpp
+++ b/testing/embedder_test.cpp
@@ -185,7 +185,7 @@ bool EmbedderTest::OpenDocument(const std::string& filename,
if (must_linearize) {
return false;
}
- document_ = FPDF_LoadCustomDocument(&file_access_, nullptr);
+ document_ = FPDF_LoadCustomDocument(&file_access_, password);
if (!document_) {
return false;
}