diff options
Diffstat (limited to 'ui/views/window/custom_frame_view.cc')
-rw-r--r-- | ui/views/window/custom_frame_view.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/views/window/custom_frame_view.cc b/ui/views/window/custom_frame_view.cc index 6c56db1..fae0d2f 100644 --- a/ui/views/window/custom_frame_view.cc +++ b/ui/views/window/custom_frame_view.cc @@ -484,10 +484,9 @@ void CustomFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) { client_area_top, left->width(), client_area_height); // Draw the toolbar color to fill in the edges. - canvas->DrawRect(gfx::Rect(client_area_bounds.x() - 1, client_area_top - 1, - client_area_bounds.width() + 1, - client_area_bottom - client_area_top + 1), - ui::ResourceBundle::toolbar_color); + canvas->DrawRectInt(ResourceBundle::toolbar_color, + client_area_bounds.x() - 1, client_area_top - 1, + client_area_bounds.width() + 1, client_area_bottom - client_area_top + 1); } void CustomFrameView::LayoutWindowControls() { |