summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_annot_embeddertest.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-08-14 18:22:06 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-14 18:22:06 +0000
commitb9c3e2712f75363372622282023143b86b72f2df (patch)
treeb8b4443fbf792143ade73b0fdd2ccf3e50c9a1e1 /fpdfsdk/fpdf_annot_embeddertest.cpp
parentf46d49b52d39f8a56e40a95e0d9d2b574301fa04 (diff)
downloadpdfium-b9c3e2712f75363372622282023143b86b72f2df.tar.xz
Remove more default arg = nullptr cases.
Bring in line with standards. Remove argument entirely for mac code that is always nullptr. Change-Id: I0710bdbd51fc0bc2e1d428ef44976be39a631147 Reviewed-on: https://pdfium-review.googlesource.com/40091 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_annot_embeddertest.cpp')
-rw-r--r--fpdfsdk/fpdf_annot_embeddertest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/fpdf_annot_embeddertest.cpp b/fpdfsdk/fpdf_annot_embeddertest.cpp
index 5fd5d587bc..767a5c78c0 100644
--- a/fpdfsdk/fpdf_annot_embeddertest.cpp
+++ b/fpdfsdk/fpdf_annot_embeddertest.cpp
@@ -320,7 +320,7 @@ TEST_F(FPDFAnnotEmbeddertest, AddAndSaveUnderlineAnnotation) {
// Open the saved document.
const char md5[] = "dba153419f67b7c0c0e3d22d3e8910d5";
- OpenSavedDocument();
+ OpenSavedDocument(nullptr);
page = LoadSavedPage(0);
VerifySavedRendering(page, 612, 792, md5);
@@ -762,7 +762,7 @@ TEST_F(FPDFAnnotEmbeddertest, AddAndModifyPath) {
UnloadPage(page);
// Open the saved document.
- OpenSavedDocument();
+ OpenSavedDocument(nullptr);
page = LoadSavedPage(0);
VerifySavedRendering(page, 595, 842, md5_new_annot);
@@ -1076,7 +1076,7 @@ TEST_F(FPDFAnnotEmbeddertest, GetSetStringValue) {
#endif
// Open the saved annotation.
- OpenSavedDocument();
+ OpenSavedDocument(nullptr);
page = LoadSavedPage(0);
VerifySavedRendering(page, 595, 842, md5);
{
@@ -1198,7 +1198,7 @@ TEST_F(FPDFAnnotEmbeddertest, GetSetAP) {
EXPECT_TRUE(FPDF_SaveAsCopy(document(), this, 0));
UnloadPage(page);
- OpenSavedDocument();
+ OpenSavedDocument(nullptr);
page = LoadSavedPage(0);
{
ScopedFPDFAnnotation new_annot(FPDFPage_GetAnnot(page, 0));