| Index: src/pdf/SkPDFGraphicState.cpp
|
| diff --git a/src/pdf/SkPDFGraphicState.cpp b/src/pdf/SkPDFGraphicState.cpp
|
| index bd8afe0684365fe64059df1f69cb530cd96254c5..7664ed699b24f89a2385f3438610e9d9d6f1599a 100644
|
| --- a/src/pdf/SkPDFGraphicState.cpp
|
| +++ b/src/pdf/SkPDFGraphicState.cpp
|
| @@ -123,7 +123,7 @@ SkPDFObject* SkPDFGraphicState::GetInvertFunction() {
|
| static const char psInvert[] = "{1 exch sub}";
|
| // Do not copy the trailing '\0' into the SkData.
|
| SkAutoTUnref<SkData> psInvertStream(
|
| - SkData::NewWithCopy(psInvert, strlen(psInvert)));
|
| + SkData::NewWithoutCopy(psInvert, strlen(psInvert)));
|
|
|
| invertFunction = new SkPDFStream(psInvertStream.get());
|
| invertFunction->insertInt("FunctionType", 4);
|
|
|