Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: include/core/SkShader.h

Issue 299043002: re-expose hasLocalMatrix for now (can't hurt) -- unblocks blink (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698