diff options
author | Lei Zhang <thestig@chromium.org> | 2018-02-09 21:48:15 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-09 21:48:15 +0000 |
commit | 107fa7b06773a2b3e83fc360125d54105574f9bf (patch) | |
tree | 760d8dafa3368cae3be175cb4c55173a7b6f5a85 /testing | |
parent | 0acd92b3b72a3111e566c1321afacfc78d27848e (diff) | |
download | pdfium-107fa7b06773a2b3e83fc360125d54105574f9bf.tar.xz |
Get rid of EmbedderTest::RenderPageDeprecated().
Change-Id: I8c6d813e488b2612a85fb1973382f979728df563
Reviewed-on: https://pdfium-review.googlesource.com/25571
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing')
-rw-r--r-- | testing/embedder_test.cpp | 4 | ||||
-rw-r--r-- | testing/embedder_test.h | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp index e49f289948..549ebe1f80 100644 --- a/testing/embedder_test.cpp +++ b/testing/embedder_test.cpp @@ -282,10 +282,6 @@ void EmbedderTest::UnloadPage(FPDF_PAGE page) { page_map_.erase(page_number); } -FPDF_BITMAP EmbedderTest::RenderPageDeprecated(FPDF_PAGE page) { - return RenderPageWithFlagsDeprecated(page, form_handle_, 0); -} - std::unique_ptr<void, FPDFBitmapDeleter> EmbedderTest::RenderLoadedPage( FPDF_PAGE page) { return RenderLoadedPageWithFlags(page, 0); diff --git a/testing/embedder_test.h b/testing/embedder_test.h index 25896dcafc..dc91df8bf3 100644 --- a/testing/embedder_test.h +++ b/testing/embedder_test.h @@ -119,10 +119,6 @@ class EmbedderTest : public ::testing::Test, // from LoadPage(). Further use of |page| is prohibited after calling this. void UnloadPage(FPDF_PAGE page); - // Convert a loaded page into a bitmap. - // DEPRECATED. Use some one of the methods below instead. - FPDF_BITMAP RenderPageDeprecated(FPDF_PAGE page); - // RenderLoadedPageWithFlags() with no flags. std::unique_ptr<void, FPDFBitmapDeleter> RenderLoadedPage(FPDF_PAGE page); |