Index: views/window/custom_frame_view.cc |
diff --git a/views/window/custom_frame_view.cc b/views/window/custom_frame_view.cc |
index 1b23eed7ed204d40a06f7229013b222b170f17bc..cacebb97f9f780f42dbb7dcda0022b4e14e3d5e8 100644 |
--- a/views/window/custom_frame_view.cc |
+++ b/views/window/custom_frame_view.cc |
@@ -476,9 +476,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() { |