Index: ui/gfx/transform_util.h |
diff --git a/ui/gfx/transform_util.h b/ui/gfx/transform_util.h |
index a77ded28f73c5021d75f97fd92708dc69d550ca4..6b091a2b6675a475f7805af7ea04cd27d9b230e4 100644 |
--- a/ui/gfx/transform_util.h |
+++ b/ui/gfx/transform_util.h |
@@ -58,6 +58,9 @@ GFX_EXPORT bool SnapTransform(Transform* out, |
const Transform& transform, |
const Rect& viewport); |
+// Computes the Frobenius norm of (a - b). |
+GFX_EXPORT float MatrixDistance(const Transform& a, const Transform& b); |
+ |
} // namespace gfx |
#endif // UI_GFX_TRANSFORM_UTIL_H_ |