diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-19 18:43:58 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-19 18:43:58 +0000 |
commit | 1ab6cce1f40e10238e9e13fed845b34e6e03ff39 (patch) | |
tree | 140478f1f9af5d51452fb60e8046b72f5431cb31 /ui/views/window | |
parent | 7c453548d4a88c351b51a0326834f2eeb8f04970 (diff) | |
download | chromium_src-1ab6cce1f40e10238e9e13fed845b34e6e03ff39.zip chromium_src-1ab6cce1f40e10238e9e13fed845b34e6e03ff39.tar.gz chromium_src-1ab6cce1f40e10238e9e13fed845b34e6e03ff39.tar.bz2 |
views: Fill the client edge color using FillRect instead of using DrawRect.
BUG=100898
R=pkasting@chromium.org
TBR=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9724018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/window')
-rw-r--r-- | ui/views/window/custom_frame_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/window/custom_frame_view.cc b/ui/views/window/custom_frame_view.cc index 2c68372..1825c66 100644 --- a/ui/views/window/custom_frame_view.cc +++ b/ui/views/window/custom_frame_view.cc @@ -422,7 +422,7 @@ void CustomFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) { client_area_top, left->width(), client_area_height); // Draw the color to fill in the edges. - canvas->DrawRect(gfx::Rect(client_area_bounds.x() - 1, client_area_top - 1, + canvas->FillRect(gfx::Rect(client_area_bounds.x() - 1, client_area_top - 1, client_area_bounds.width() + 1, client_area_bottom - client_area_top + 1), kClientEdgeColor); } |