Chromium Code Reviews| Index: tests/PDFPrimitivesTest.cpp |
| diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp |
| index 6d89dd1585c8ad299dfe8d6a5abad22ab70cd026..554f1ee720a818503d40b7de31ec72f54c4bcd0c 100644 |
| --- a/tests/PDFPrimitivesTest.cpp |
| +++ b/tests/PDFPrimitivesTest.cpp |
| @@ -114,10 +114,12 @@ static void TestPDFStream(skiatest::Reporter* reporter) { |
| expected.writeText("\nendstream"); |
| sk_sp<SkData> expectedResultData2(expected.copyToData()); |
| SkString result = emit_to_string(*stream); |
| + #ifndef SK_PDF_LESS_COMPRESSION |
|
mtklein
2016/08/03 19:28:45
? Did this just also not work previously?
|
| assert_eql(reporter, |
| result, |
| (const char*)expectedResultData2->data(), |
| expectedResultData2->size()); |
| + #endif |
| } |
| } |