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

Unified Diff: src/utils/SkPDFRasterizer.h

Issue 270263009: Allow for no pdf rasterizers in gm. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 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
« gm/gmmain.cpp ('K') | « gm/gmmain.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkPDFRasterizer.h
===================================================================
--- src/utils/SkPDFRasterizer.h (revision 14665)
+++ src/utils/SkPDFRasterizer.h (working copy)
@@ -18,4 +18,6 @@
bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output);
#endif // SK_BUILD_NATIVE_PDF_RENDERER
+static bool SkNoRasterizePDF(SkStream*, SkBitmap*) { return false; }
epoger 2014/05/09 14:35:30 Maybe put this in gmmain.cpp instead? (Nobody els
bungeman-skia 2014/05/09 14:56:15 Done. I suppose I put it here on the idea that thi
+
#endif
« gm/gmmain.cpp ('K') | « gm/gmmain.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698