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

Unified Diff: tools/ipc_fuzzer/fuzzer/fuzzer.cc

Issue 2640033005: Substitute boolean GDI printing for a mode type (Closed)
Patch Set: Fix nits Created 3 years, 11 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
« no previous file with comments | « printing/pdf_render_settings.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/fuzzer/fuzzer.cc
diff --git a/tools/ipc_fuzzer/fuzzer/fuzzer.cc b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
index 08e99d30d423d13deb505463d877f48c2339a6a7..5dc601209e93bf105c72e02ac1bd1bd3efc82298 100644
--- a/tools/ipc_fuzzer/fuzzer/fuzzer.cc
+++ b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
@@ -1505,23 +1505,6 @@ struct FuzzTraits<ppapi::SocketOptionData> {
};
template <>
-struct FuzzTraits<printing::PdfRenderSettings> {
- static bool Fuzz(printing::PdfRenderSettings* p, Fuzzer* fuzzer) {
- gfx::Rect area = p->area;
- int dpi = p->dpi;
- bool autorotate = p->autorotate;
- if (!FuzzParam(&area, fuzzer))
- return false;
- if (!FuzzParam(&dpi, fuzzer))
- return false;
- if (!FuzzParam(&autorotate, fuzzer))
- return false;
- *p = printing::PdfRenderSettings(area, dpi, autorotate);
- return true;
- }
-};
-
-template <>
struct FuzzTraits<SkBitmap> {
static bool Fuzz(SkBitmap* p, Fuzzer* fuzzer) {
// TODO(mbarbella): This should actually do something.
« no previous file with comments | « printing/pdf_render_settings.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698