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

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

Merge "stop leaking SkPDFDocument" into nyc-dev am: 4f7519a6

am: 256e2ca7

* commit '256e2ca7':
  stop leaking SkPDFDocument

Change-Id: I6e82ef245d06e28dfb2c9bd78d113f384d3e64de
parents 1b71c6fb 256e2ca7
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];