Index: ui/views/window/custom_frame_view.cc |
diff --git a/ui/views/window/custom_frame_view.cc b/ui/views/window/custom_frame_view.cc |
index fae0d2fcdf44b793fddd11eb81f2efd9d90f3e14..6c56db1e92b8696d3b7e3251ba6388394a8f2ffe 100644 |
--- a/ui/views/window/custom_frame_view.cc |
+++ b/ui/views/window/custom_frame_view.cc |
@@ -484,9 +484,10 @@ void CustomFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) { |
client_area_top, left->width(), client_area_height); |
// Draw the toolbar color to fill in the edges. |
- 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); |
+ 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); |
} |
void CustomFrameView::LayoutWindowControls() { |