| Index: include/core/SkPicture.h
|
| diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
|
| index f1ff19cc2efcb1a09cec66a78d44bf534dbe01bd..06cc6e2b07f72b23dd6e9106eef926165a04a60e 100644
|
| --- a/include/core/SkPicture.h
|
| +++ b/include/core/SkPicture.h
|
| @@ -307,18 +307,18 @@ private:
|
| SkAutoTUnref<SkBBoxHierarchy> fBBH;
|
|
|
| struct Analysis {
|
| - // To get setup to work cleanly, we cast away constness and call init()
|
| - // instead of trying to set everything during construction.
|
| - void init(const SkRecord&);
|
| + Analysis() {} // Only used by SkPictureData codepath.
|
| + explicit Analysis(const SkRecord&);
|
|
|
| bool suitableForGpuRasterization(const char** reason, int sampleCount) const;
|
|
|
| bool fWillPlaybackBitmaps;
|
| + bool fHasText;
|
| int fNumPaintWithPathEffectUses;
|
| int fNumFastPathDashEffects;
|
| int fNumAAConcavePaths;
|
| int fNumAAHairlineConcavePaths;
|
| - } const fAnalysis;
|
| + } fAnalysis;
|
| };
|
|
|
| #endif
|
|
|