| Index: ui/views/widget/widget.cc
|
| diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
|
| index d0c71ef2f5202a17f3c877ef7103b7264afc5add..40c64d62cf90169b04bdba0a353ec1c0fc0d8db6 100644
|
| --- a/ui/views/widget/widget.cc
|
| +++ b/ui/views/widget/widget.cc
|
| @@ -1060,7 +1060,7 @@ bool Widget::OnNativeWidgetPaintAccelerated(const gfx::Rect& dirty_region) {
|
| force_clear = true;
|
| } else {
|
| // Determine if the layer fills the client area.
|
| - gfx::Rect layer_bounds = GetRootView()->layer()->bounds();
|
| + gfx::RectF layer_bounds = GetRootView()->layer()->bounds();
|
| layer_transform.TransformRect(&layer_bounds);
|
| gfx::Rect client_bounds = GetClientAreaBoundsInScreen();
|
| // Translate bounds to origin (client area bounds are offset to account
|
|
|