aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-22 18:43:05 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-22 18:43:05 +0000
commitde5553ae8b8805884821bcfcf8cee53d8ece8a1b (patch)
tree1f9ceef179de56d233e86376fbb60432d7e8aaa3 /include
parent8cf81e0f4fa2a8054ac4cea1e7490028809cb893 (diff)
re-expose hasLocalMatrix for now (can't hurt) -- unblocks blink
BUG=skia: R=fmalita@google.com, fmalita@chromium.org Author: reed@google.com Review URL: https://codereview.chromium.org/299043002 git-svn-id: http://skia.googlecode.com/svn/trunk@14853 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-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.