summaryrefslogtreecommitdiff
path: root/testing/embedder_test.cpp
diff options
context:
space:
mode:
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;
}