diff options
author | Lei Zhang <thestig@chromium.org> | 2018-02-05 21:13:51 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-05 21:13:51 +0000 |
commit | 0729be26d745e2ea713908eb9040e2be7c40c96b (patch) | |
tree | 87d3010e209b5b46d8632145c882a0d0d2ef7e40 /fpdfsdk/fpdfedit_embeddertest.cpp | |
parent | 3355f459ecd2207c0cd1719c2cdafa15eea87bf6 (diff) | |
download | pdfium-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 'fpdfsdk/fpdfedit_embeddertest.cpp')
-rw-r--r-- | fpdfsdk/fpdfedit_embeddertest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/fpdfedit_embeddertest.cpp b/fpdfsdk/fpdfedit_embeddertest.cpp index c0ddd77cda..1a422bd941 100644 --- a/fpdfsdk/fpdfedit_embeddertest.cpp +++ b/fpdfsdk/fpdfedit_embeddertest.cpp @@ -472,14 +472,14 @@ TEST_F(FPDFEditEmbeddertest, EditOverExistingContent) { EXPECT_TRUE(FPDFPath_SetFillColor(green_rect2, 0, 255, 0, 100)); EXPECT_TRUE(FPDFPath_SetDrawMode(green_rect2, FPDF_FILLMODE_ALTERNATE, 0)); FPDFPage_InsertObject(page, green_rect2); - FPDF_BITMAP new_bitmap = RenderPageWithFlags(page, m_SavedForm, 0); + FPDF_BITMAP new_bitmap = RenderPageWithFlags(page, saved_form_handle_, 0); const char last_md5[] = "4b5b00f824620f8c9b8801ebb98e1cdd"; CompareBitmap(new_bitmap, 612, 792, last_md5); FPDFBitmap_Destroy(new_bitmap); EXPECT_TRUE(FPDFPage_GenerateContent(page)); // Now save the result, closing the page and document - EXPECT_TRUE(FPDF_SaveAsCopy(m_SavedDocument, this, 0)); + EXPECT_TRUE(FPDF_SaveAsCopy(saved_document_, this, 0)); CloseSavedPage(page); CloseSavedDocument(); |