summaryrefslogtreecommitdiff
path: root/testing
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 /testing
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 'testing')
-rw-r--r--testing/embedder_test.cpp2
-rw-r--r--testing/embedder_test.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp
index e874640218..3f953d22df 100644
--- a/testing/embedder_test.cpp
+++ b/testing/embedder_test.cpp
@@ -420,7 +420,7 @@ void EmbedderTest::VerifySavedRendering(FPDF_PAGE page,
}
void EmbedderTest::VerifySavedDocument(int width, int height, const char* md5) {
- OpenSavedDocument();
+ OpenSavedDocument(nullptr);
FPDF_PAGE page = LoadSavedPage(0);
VerifySavedRendering(page, width, height, md5);
CloseSavedPage(page);
diff --git a/testing/embedder_test.h b/testing/embedder_test.h
index b0dada0341..ef4fe02721 100644
--- a/testing/embedder_test.h
+++ b/testing/embedder_test.h
@@ -192,7 +192,7 @@ class EmbedderTest : public ::testing::Test,
unsigned long size);
// See comments in the respective non-Saved versions of these methods.
- FPDF_DOCUMENT OpenSavedDocument(const char* password = nullptr);
+ FPDF_DOCUMENT OpenSavedDocument(const char* password);
void CloseSavedDocument();
FPDF_PAGE LoadSavedPage(int page_number);
void CloseSavedPage(FPDF_PAGE page);