summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-02-12 14:58:44 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-12 14:58:44 +0000
commitc113c7aa67aac8ce597a1c15da065389bba36b9b (patch)
treee0dc1e16034ab5d2d7a532b20721e3ad2d073ceb /testing
parent9e705dfe91b1cc36a3333c963500a656a0e635a8 (diff)
downloadpdfium-c113c7aa67aac8ce597a1c15da065389bba36b9b.tar.xz
Get rid of EmbedderTest::RenderPageWithFlagsDeprecated().
Change-Id: I653619faa61181137795bb3675418fd8d0945d25 Reviewed-on: https://pdfium-review.googlesource.com/25590 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing')
-rw-r--r--testing/embedder_test.cpp7
-rw-r--r--testing/embedder_test.h8
2 files changed, 0 insertions, 15 deletions
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
@@ -312,13 +312,6 @@ std::unique_ptr<void, FPDFBitmapDeleter> EmbedderTest::RenderSavedPageWithFlags(
}
// static
-FPDF_BITMAP EmbedderTest::RenderPageWithFlagsDeprecated(FPDF_PAGE page,
- FPDF_FORMHANDLE handle,
- int flags) {
- return RenderPageWithFlags(page, handle, flags).release();
-}
-
-// static
std::unique_ptr<void, FPDFBitmapDeleter> EmbedderTest::RenderPageWithFlags(
FPDF_PAGE page,
FPDF_FORMHANDLE handle,
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.