| Index: ui/gfx/transform.cc
|
| diff --git a/ui/gfx/transform.cc b/ui/gfx/transform.cc
|
| index 5e8799841fc4508782958a3aa716e3c5fe30630e..09a213ebbf05ae9b8b2210aab4988f7addc05af8 100644
|
| --- a/ui/gfx/transform.cc
|
| +++ b/ui/gfx/transform.cc
|
| @@ -365,14 +365,6 @@ bool Transform::TransformRectReverse(RectF* rect) const {
|
| }
|
|
|
| bool Transform::Blend(const Transform& from, double progress) {
|
| - if (progress <= 0.0) {
|
| - *this = from;
|
| - return true;
|
| - }
|
| -
|
| - if (progress >= 1.0)
|
| - return true;
|
| -
|
| DecomposedTransform to_decomp;
|
| DecomposedTransform from_decomp;
|
| if (!DecomposeTransform(&to_decomp, *this) ||
|
|
|