Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: testing/embedder_test.cpp

Issue 2581873002: Relax the EncryptMetadata check. (Closed)
Patch Set: Fix comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp ('k') | testing/resources/bug_644.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/embedder_test.cpp
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp
index bc4c027c6641cae5a52fb8a6efab54e8a3998bb6..79074153fbb36ad1792e9800d6afe787af908d4d 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;
}
« no previous file with comments | « core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp ('k') | testing/resources/bug_644.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698