Chromium Code Reviews| Index: ui/aura/window.cc |
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc |
| index 64ec5af5aea26662e1995666be89e3af208e385c..514684ecf6ef6462a46a392bbd95bfcfe457d931 100644 |
| --- a/ui/aura/window.cc |
| +++ b/ui/aura/window.cc |
| @@ -255,6 +255,9 @@ gfx::Rect Window::GetBoundsInScreen() const { |
| } |
| void Window::SetTransform(const gfx::Transform& transform) { |
| + if (transform == this->transform()) |
| + return; |
| + |
| for (WindowObserver& observer : observers_) |
| observer.OnWindowTransforming(this); |
| layer()->SetTransform(transform); |