| Index: ui/views/view.cc
|
| diff --git a/ui/views/view.cc b/ui/views/view.cc
|
| index 3c2aed7dbab63c64d06b4554d32574d33b66d92f..7e0440ea729e188ef97ac865d10b6368ce08dfa5 100644
|
| --- a/ui/views/view.cc
|
| +++ b/ui/views/view.cc
|
| @@ -699,7 +699,7 @@ void View::ConvertPointFromScreen(const View* dst, gfx::Point* p) {
|
| }
|
|
|
| gfx::Rect View::ConvertRectToParent(const gfx::Rect& rect) const {
|
| - gfx::RectF x_rect = rect;
|
| + gfx::RectF x_rect = gfx::RectF(rect);
|
| GetTransform().TransformRect(&x_rect);
|
| x_rect.Offset(GetMirroredPosition().OffsetFromOrigin());
|
| // Pixels we partially occupy in the parent should be included.
|
|
|