From c113c7aa67aac8ce597a1c15da065389bba36b9b Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 12 Feb 2018 14:58:44 +0000 Subject: Get rid of EmbedderTest::RenderPageWithFlagsDeprecated(). Change-Id: I653619faa61181137795bb3675418fd8d0945d25 Reviewed-on: https://pdfium-review.googlesource.com/25590 Commit-Queue: dsinclair Reviewed-by: dsinclair --- testing/embedder_test.cpp | 7 ------- testing/embedder_test.h | 8 -------- 2 files changed, 15 deletions(-) (limited to 'testing') diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp index 549ebe1f80..b4f3851e3e 100644 --- a/testing/embedder_test.cpp +++ b/testing/embedder_test.cpp @@ -311,13 +311,6 @@ std::unique_ptr EmbedderTest::RenderSavedPageWithFlags( return RenderPageWithFlags(page, saved_form_handle_, flags); } -// static -FPDF_BITMAP EmbedderTest::RenderPageWithFlagsDeprecated(FPDF_PAGE page, - FPDF_FORMHANDLE handle, - int flags) { - return RenderPageWithFlags(page, handle, flags).release(); -} - // static std::unique_ptr EmbedderTest::RenderPageWithFlags( FPDF_PAGE page, diff --git a/testing/embedder_test.h b/testing/embedder_test.h index dc91df8bf3..c1f1844eba 100644 --- a/testing/embedder_test.h +++ b/testing/embedder_test.h @@ -141,14 +141,6 @@ class EmbedderTest : public ::testing::Test, FPDF_PAGE page, int flags); - // DEPRECATED. Use RenderPageWithFlags() instead. - // Caller takes ownership of the returned bitmap. - // - // See public/fpdfview.h for a list of page rendering flags. - static FPDF_BITMAP RenderPageWithFlagsDeprecated(FPDF_PAGE page, - FPDF_FORMHANDLE handle, - int flags); - // Convert |page| into a bitmap with the specified page rendering |flags|. // The form handle associated with |page| should be passed in via |handle|. // If |handle| is nullptr, then forms on the page will not be rendered. -- cgit v1.2.3