aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/core/SkShader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkShader.h b/include/core/SkShader.h
index e67167d924..82efab2741 100644
--- a/include/core/SkShader.h
+++ b/include/core/SkShader.h
@@ -43,12 +43,12 @@ public:
*/
const SkMatrix& getLocalMatrix() const { return fLocalMatrix; }
-#ifdef SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX
/**
* Returns true if the local matrix is not an identity matrix.
*/
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.