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

Commit eecd825a authored by Hal Canary's avatar Hal Canary Committed by android-build-merger
Browse files

Merge "stop leaking SkPDFDocument" into nyc-dev

am: 4f7519a6

* commit '4f7519a6':
  stop leaking SkPDFDocument

Change-Id: I328d7cc7b3b8e9d6d628f13dacc2bdb391aeb010
parents bc84c0fa 4f7519a6
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];