| Index: include/gpu/GrCaps.h
|
| diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
|
| index a97be72c3ff52c31d75f65f5856b5ae6127c5a98..204cfc98cbaba75205f12809dbd22e20cb2645ed 100644
|
| --- a/include/gpu/GrCaps.h
|
| +++ b/include/gpu/GrCaps.h
|
| @@ -133,7 +133,7 @@ public:
|
|
|
| virtual SkString dump() const;
|
|
|
| - GrShaderCaps* shaderCaps() const { return fShaderCaps; }
|
| + GrShaderCaps* shaderCaps() const { return fShaderCaps.get(); }
|
|
|
| bool npotTextureTileSupport() const { return fNPOTTextureTileSupport; }
|
| /** To avoid as-yet-unnecessary complexity we don't allow any partial support of MIP Maps (e.g.
|
| @@ -294,7 +294,7 @@ protected:
|
| expand them. */
|
| void applyOptionsOverrides(const GrContextOptions& options);
|
|
|
| - SkAutoTUnref<GrShaderCaps> fShaderCaps;
|
| + sk_sp<GrShaderCaps> fShaderCaps;
|
|
|
| bool fNPOTTextureTileSupport : 1;
|
| bool fMipMapSupport : 1;
|
|
|