summaryrefslogtreecommitdiff
path: root/chromium/ui/gfx/transform.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gfx/transform.h')
-rw-r--r--chromium/ui/gfx/transform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chromium/ui/gfx/transform.h b/chromium/ui/gfx/transform.h
index 94fe601155b..c056ab0f854 100644
--- a/chromium/ui/gfx/transform.h
+++ b/chromium/ui/gfx/transform.h
@@ -147,6 +147,7 @@ class GEOMETRY_SKIA_EXPORT Transform {
// Returns true if the matrix is either identity or pure translation,
// allowing for an amount of inaccuracy as specified by the parameter.
bool IsApproximatelyIdentityOrTranslation(SkScalar tolerance) const;
+ bool IsApproximatelyIdentityOrIntegerTranslation(SkScalar tolerance) const;
// Returns true if the matrix is either a positive scale and/or a translation.
bool IsPositiveScaleOrTranslation() const {