aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PDFPrimitivesTest.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-03-31 08:22:01 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-31 08:22:01 -0700
commitaf9c85dee116fdc5f32029ac6a4fa7882c6b9a63 (patch)
treed8abf04d1dafbd7b5f0a2dde61c69acf8f5f7d5c /tests/PDFPrimitivesTest.cpp
parent0340df5b3698aff1c9540fcdbc3dafd9d5ddb0b0 (diff)
SkPDF: remove SK_NO_FLATE & dead code in SkPDFStream
SkPDFStream copy constructor SkPDFStream Substitute mechanism SkPDFStream::setData(NULL); SkPDFStream SK_NO_FLATE logic BUG=skia:3585 TBR=bsalomon@google.com,reed@google.com Review URL: https://codereview.chromium.org/1041183002
Diffstat (limited to 'tests/PDFPrimitivesTest.cpp')
-rw-r--r--tests/PDFPrimitivesTest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp
index 36c803f6d5..e361554f7a 100644
--- a/tests/PDFPrimitivesTest.cpp
+++ b/tests/PDFPrimitivesTest.cpp
@@ -114,7 +114,6 @@ static void TestPDFStream(skiatest::Reporter* reporter) {
"<</Length 12\n/Attribute 42\n>> stream\n"
"Test\nFoo\tBar\nendstream");
-#ifndef SK_NO_FLATE
{
char streamBytes2[] = "This is a longer string, so that compression "
"can do something with it. With shorter strings, "
@@ -138,7 +137,6 @@ static void TestPDFStream(skiatest::Reporter* reporter) {
(const char*) expectedResultData2->data(),
expectedResultData2->size(), true);
}
-#endif // SK_NO_FLATE
}
static void TestCatalog(skiatest::Reporter* reporter) {