| Index: include/core/SkShader.h
|
| diff --git a/include/core/SkShader.h b/include/core/SkShader.h
|
| index 33a7a15b0f01b2f1628cb155331fba9ab0ede34a..e5af40dd7a181295a7433af9373a721e22805579 100644
|
| --- a/include/core/SkShader.h
|
| +++ b/include/core/SkShader.h
|
| @@ -55,19 +55,6 @@ public:
|
| */
|
| bool hasLocalMatrix() const { return !fLocalMatrix.isIdentity(); }
|
|
|
| -#ifdef SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX
|
| - /**
|
| - * Set the shader's local matrix.
|
| - * @param localM The shader's new local matrix.
|
| - */
|
| - void setLocalMatrix(const SkMatrix& localM) { fLocalMatrix = localM; }
|
| -
|
| - /**
|
| - * Reset the shader's local matrix to identity.
|
| - */
|
| - void resetLocalMatrix() { fLocalMatrix.reset(); }
|
| -#endif
|
| -
|
| enum TileMode {
|
| /** replicate the edge color if the shader draws outside of its
|
| * original bounds
|
| @@ -479,6 +466,8 @@ protected:
|
| virtual Context* onCreateContext(const ContextRec&, void* storage) const;
|
|
|
| private:
|
| + // This is essentially const, but not officially so it can be modified in
|
| + // constructors.
|
| SkMatrix fLocalMatrix;
|
|
|
| // So the SkLocalMatrixShader can whack fLocalMatrix in its SkReadBuffer constructor.
|
|
|