| Index: ash/desktop_background/desktop_background_view.cc
|
| diff --git a/ash/desktop_background/desktop_background_view.cc b/ash/desktop_background/desktop_background_view.cc
|
| index 43e5f18de83c2bcc000915c9ba8ccc477a4177de..464d802137c21164164bdc7fa02e60d0a4261fbb 100644
|
| --- a/ash/desktop_background/desktop_background_view.cc
|
| +++ b/ash/desktop_background/desktop_background_view.cc
|
| @@ -64,6 +64,9 @@ class LayerControlView : public views::View {
|
| views::View* child = child_at(0);
|
| child->SetBounds(0, 0, rounded_size.width(), rounded_size.height());
|
| gfx::Transform transform;
|
| + // Apply RTL transform explicitly becacuse Views layer code
|
| + // doesn't handle RTL. crbug.com/458753.
|
| + transform.Translate(-child->GetMirroredX(), 0);
|
| transform.Scale(ui_scale, ui_scale);
|
| child->SetTransform(transform);
|
| }
|
|
|