Index: ui/gfx/transform.h |
diff --git a/ui/gfx/transform.h b/ui/gfx/transform.h |
index b319831c1f72086a732e0a4ef8ed223f3babf198..5e3b83033403e442f455e5b7dce4623b4c0b4f58 100644 |
--- a/ui/gfx/transform.h |
+++ b/ui/gfx/transform.h |
@@ -89,9 +89,6 @@ |
// to |this|. |
void Scale(SkMScalar x, SkMScalar y); |
void Scale3d(SkMScalar x, SkMScalar y, SkMScalar z); |
- gfx::Vector2dF Scale2d() const { |
- return gfx::Vector2dF(matrix_.get(0,0), matrix_.get(1,1)); |
- } |
// Applies the current transformation on a translation and assigns the result |
// to |this|. |
@@ -138,11 +135,6 @@ |
// Returns true if the matrix is either identity or pure, non-fractional |
// translation. |
bool IsIdentityOrIntegerTranslation() const; |
- |
- // Returns true if the matrix had only scaling components. |
- bool IsScale2d() const { |
- return !(matrix_.getType() & ~SkMatrix44::kScale_Mask); |
- } |
// Returns true if the matrix is has only scaling and translation components. |
bool IsScaleOrTranslation() const { |