Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f7519a6 authored by Hal Canary's avatar Hal Canary Committed by Android (Google) Code Review
Browse files

Merge "stop leaking SkPDFDocument" into nyc-dev

parents 6af7c231 424784d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ public:
    }

    void write(SkWStream* stream) {
        SkDocument* document = SkDocument::CreatePDF(stream);
        SkAutoTUnref<SkDocument> document(SkDocument::CreatePDF(stream));
        for (unsigned i = 0; i < mPages.size(); i++) {
            PageRecord* page =  mPages[i];