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

Unified Diff: tests/PDFInvalidBitmapTest.cpp

Issue 1279123007: SkPDF: allow PDF module to be disabled in DM and SampleApp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-11 (Tuesday) 10:04:57 EDT : #if SK_SUPPORT_PDF Created 5 years, 4 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
Index: tests/PDFInvalidBitmapTest.cpp
diff --git a/tests/PDFInvalidBitmapTest.cpp b/tests/PDFInvalidBitmapTest.cpp
index 8a9b1fa132236c8412684e0eb6ba5713c20c3c58..6a547066d51140c3cd192796a423e291265849cd 100644
--- a/tests/PDFInvalidBitmapTest.cpp
+++ b/tests/PDFInvalidBitmapTest.cpp
@@ -15,6 +15,8 @@
#include "Test.h"
+#if SK_SUPPORT_PDF
+
namespace {
// SkPixelRef which fails to lock, as a lazy pixel ref might if its pixels
@@ -58,3 +60,4 @@ DEF_TEST(PDFInvalidBitmap, reporter) {
// This test passes if it does not crash.
}
+#endif // SK_SUPPORT_PDF
« samplecode/SampleApp.cpp ('K') | « tests/FlateTest.cpp ('k') | tests/PDFJpegEmbedTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698