Index: src/core/SkPictureShader.cpp |
diff --git a/src/core/SkPictureShader.cpp b/src/core/SkPictureShader.cpp |
index 776fe5e6556aa0c0b6ab846f73ffef787cecdc8f..3734791ce456581b69544c131fee440e52ba9e83 100644 |
--- a/src/core/SkPictureShader.cpp |
+++ b/src/core/SkPictureShader.cpp |
@@ -152,6 +152,9 @@ SkShader* SkPictureShader::refBitmapShader(const SkMatrix& matrix, const SkMatri |
// Use a rotation-invariant scale |
SkPoint scale; |
+ // |
+ // TODO: replace this with decomposeScale() -- but beware LayoutTest rebaselines! |
+ // |
if (!SkDecomposeUpper2x2(m, NULL, &scale, NULL)) { |
// Decomposition failed, use an approximation. |
scale.set(SkScalarSqrt(m.getScaleX() * m.getScaleX() + m.getSkewX() * m.getSkewX()), |