summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-02-05 21:13:51 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-05 21:13:51 +0000
commit0729be26d745e2ea713908eb9040e2be7c40c96b (patch)
tree87d3010e209b5b46d8632145c882a0d0d2ef7e40 /core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
parent3355f459ecd2207c0cd1719c2cdafa15eea87bf6 (diff)
downloadpdfium-0729be26d745e2ea713908eb9040e2be7c40c96b.tar.xz
Make EmbedderTest class member style consistent.
The class started with |foo_bar_| but now has a mixture of |foo_bar_| and |m_FooBar|. Change them all to |foo_bar_|. While making this change, also initialize the members in the header when possible. Change-Id: I202ff5dc5e945175ad4da2f3245724f3493aa8aa Reviewed-on: https://pdfium-review.googlesource.com/25390 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp')
-rw-r--r--core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp b/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
index a1d5fda510..cc29b8954e 100644
--- a/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
+++ b/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
@@ -83,7 +83,7 @@ TEST_F(CPDFSecurityHandlerEmbeddertest, PasswordAfterGenerateSave) {
OpenSavedDocument(test.password);
FPDF_PAGE page = LoadSavedPage(0);
VerifySavedRendering(page, 612, 792, md5);
- EXPECT_EQ(test.permissions, FPDF_GetDocPermissions(m_SavedDocument));
+ EXPECT_EQ(test.permissions, FPDF_GetDocPermissions(saved_document_));
CloseSavedPage(page);
CloseSavedDocument();