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

Unified Diff: include/core/SkShader.h

Issue 882443007: Remove unused hasLocalMatrix. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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 1ae531e2e5d95294af98735a229a0e31fdfc9dc0..07d09b8ca2f5f5e7d838c015937fccc91f3354f0 100644
--- a/include/core/SkShader.h
+++ b/include/core/SkShader.h
@@ -47,14 +47,6 @@ public:
*/
const SkMatrix& getLocalMatrix() const { return fLocalMatrix; }
- /**
- * Returns true if the local matrix is not an identity matrix.
- *
- * FIXME: This can be incorrect for a Shader with its own local matrix
- * that is also wrapped via CreateLocalMatrixShader.
- */
- bool hasLocalMatrix() const { return !fLocalMatrix.isIdentity(); }
-
enum TileMode {
/** replicate the edge color if the shader draws outside of its
* original bounds
« 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