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

Commit 7358451c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "HWUI: mSerialContext needs to outlive other serializing members" into sc-dev am: c5f21ce4

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14492383

Change-Id: I69b6a43718a47027af16fe64c06b0e79c1121a81
parents 36c7a76b c5f21ce4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -137,9 +137,10 @@ private:
    int mCaptureSequence = 0;

    // Multi frame serialization stream and writer used when serializing more than one frame.
    std::unique_ptr<SkSharingSerialContext> mSerialContext;  // Must be declared before any other
                                                             // serializing member
    std::unique_ptr<SkFILEWStream> mOpenMultiPicStream;
    sk_sp<SkDocument> mMultiPic;
    std::unique_ptr<SkSharingSerialContext> mSerialContext;

    /**
     * mRecorder holds the current picture recorder when serializing in either SingleFrameSKP or