| Index: include/core/SkPicture.h
|
| diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
|
| index 88dfdf106678683adb263efaf9f76bb9274f68a8..9a2b65b5c5002a185f296351de70154e2dde1ac1 100644
|
| --- a/include/core/SkPicture.h
|
| +++ b/include/core/SkPicture.h
|
| @@ -10,6 +10,7 @@
|
| #define SkPicture_DEFINED
|
|
|
| #include "SkImageDecoder.h"
|
| +#include "SkLazyPtr.h"
|
| #include "SkRefCnt.h"
|
| #include "SkTDArray.h"
|
|
|
| @@ -293,7 +294,9 @@ private:
|
| uint8_t fNumSlowPathsAndDashEffects;
|
| bool fWillPlaybackBitmaps : 1;
|
| bool fHasText : 1;
|
| - } fAnalysis;
|
| + };
|
| + SkLazyPtr<Analysis> fAnalysis;
|
| + const Analysis& analysis() const;
|
|
|
| friend class SkPictureRecorder; // SkRecord-based constructor.
|
| friend class GrLayerHoister; // access to fRecord
|
|
|