diff options
author | halcanary <halcanary@google.com> | 2015-08-11 13:35:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-11 13:35:12 -0700 |
commit | 2ccdb636e8618db77be8e05cdacd82c249c6898c (patch) | |
tree | 2cf6f3fc1e2dc9cdc15645415a415cf7481244cd /tests/PDFPrimitivesTest.cpp | |
parent | fcaaadee711a93d601ccc9f0b47d744e22c35205 (diff) |
SkPDF: clean up overuse of SK_SUPPORT_PDF
When possible use run-time checks (via SkDocument::CreatePDF)
When PDF is disabled, do not compile tests/PDF*.cpp
Review URL: https://codereview.chromium.org/1278403006
Diffstat (limited to 'tests/PDFPrimitivesTest.cpp')
-rw-r--r-- | tests/PDFPrimitivesTest.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp index 22d8d16328..013d58657b 100644 --- a/tests/PDFPrimitivesTest.cpp +++ b/tests/PDFPrimitivesTest.cpp @@ -22,8 +22,6 @@ #include "SkTypes.h" #include "Test.h" -#if SK_SUPPORT_PDF - #define DUMMY_TEXT "DCT compessed stream." namespace { @@ -415,4 +413,3 @@ DEF_TEST(PDFImageFilter, reporter) { // Filter was used in rendering; should be visited. REPORTER_ASSERT(reporter, filter->visited()); } -#endif // SK_SUPPORT_PDF |