Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: ppapi/tests/test_pdf.cc

Issue 1125113002: Remove the unused parts of PPB_PDF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pdf-delete-pdf
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« components/pdf/renderer/pdf_resource_util.cc ('K') | « ppapi/tests/test_pdf.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_pdf.cc
diff --git a/ppapi/tests/test_pdf.cc b/ppapi/tests/test_pdf.cc
index 7b12785e9802ca4255aa7ae4adae488dd987a401..1c20004ec58fcd345ccb172f7558fb18683777b4 100644
--- a/ppapi/tests/test_pdf.cc
+++ b/ppapi/tests/test_pdf.cc
@@ -32,20 +32,6 @@ std::string TestPDF::TestGetLocalizedString() {
PASS();
}
-std::string TestPDF::TestGetResourceImage() {
- pp::ImageData data =
- pp::PDF::GetResourceImage(instance_, PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN);
- ASSERT_EQ(43, data.size().width());
- ASSERT_EQ(42, data.size().height());
- for (int i = 0; i < data.size().width(); ++i) {
- for (int j = 0; j < data.size().height(); ++j) {
- pp::Point point(i, j);
- ASSERT_NE(0, *data.GetAddr32(point));
- }
- }
- PASS();
-}
-
std::string TestPDF::TestGetV8ExternalSnapshotData() {
const char* natives_data;
const char* snapshot_data;
« components/pdf/renderer/pdf_resource_util.cc ('K') | « ppapi/tests/test_pdf.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698