Chromium Code Reviews| Index: ui/gfx/transform.cc |
| diff --git a/ui/gfx/transform.cc b/ui/gfx/transform.cc |
| index 123ca2bf848a20ca759af9659321ab37dadca07a..23dbd5e0281cef4e448886a2794138745e49eec1 100644 |
| --- a/ui/gfx/transform.cc |
| +++ b/ui/gfx/transform.cc |
| @@ -76,7 +76,7 @@ void Transform::SetTranslate(float x, float y) { |
| void Transform::SetPerspectiveDepth(float depth) { |
| SkMatrix44 m; |
| m.set(3, 2, -1 / depth); |
| - matrix_ = m; |
| + matrix_.postConcat(m); |
| } |
| void Transform::ConcatRotate(float degree) { |