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

Commit 93c8a61a authored by Kevin Lubick's avatar Kevin Lubick
Browse files

[native] Use public version of SkMultiPictureDocument.h

This was moved in https://skia-review.googlesource.com/c/skia/+/764971

Change-Id: Ib8d94a6aa190466305368658f2aea9d88a0f6331
parent 6521bdde
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
#include "SkCanvas.h"
#include "SkRect.h"
#include "SkTypeface.h"
#include "src/utils/SkMultiPictureDocument.h"
#include "include/docs/SkMultiPictureDocument.h"
#include <sys/stat.h>

namespace android {
@@ -196,7 +196,7 @@ bool SkiaCapture::setupMultiFrameCapture() {
        // procs doesn't need to outlive this Make call
        // The last argument is a callback for the endPage behavior.
        // See SkSharingProc.h for more explanation of this callback.
        mMultiPic = SkMakeMultiPictureDocument(
        mMultiPic = SkMultiPictureDocument::Make(
                mOpenMultiPicStream.get(), &procs,
                [sharingCtx = mSerialContext.get()](const SkPicture* pic) {
                    SkSharingSerialContext::collectNonTextureImagesFromPicture(pic, sharingCtx);