Index: include/core/SkShader.h |
diff --git a/include/core/SkShader.h b/include/core/SkShader.h |
index e67167d924cfa02f2ad87c6ce6ad533febefe553..82efab27410439b369d2186012354f480232fc0b 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. |