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

Commit c5f21ce4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents ab982fa8 b154792a
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