| Index: ui/views/border.cc
|
| diff --git a/ui/views/border.cc b/ui/views/border.cc
|
| index 6e28cafb884debe05c05f5a638e179f3062f637f..ed024762374e51f740383b55a76341e17fdf58c3 100644
|
| --- a/ui/views/border.cc
|
| +++ b/ui/views/border.cc
|
| @@ -44,13 +44,15 @@ void SidedSolidBorder::Paint(const View& view, gfx::Canvas* canvas) {
|
| // Top border.
|
| canvas->FillRect(gfx::Rect(0, 0, view.width(), insets_.top()), color_);
|
| // Left border.
|
| - canvas->FillRect(gfx::Rect(0, 0, insets_.left(), view.height()), color_);
|
| + canvas->FillRect(gfx::Rect(0, insets_.top(), insets_.left(),
|
| + view.height() - insets_.height()), color_);
|
| // Bottom border.
|
| canvas->FillRect(gfx::Rect(0, view.height() - insets_.bottom(), view.width(),
|
| insets_.bottom()), color_);
|
| // Right border.
|
| - canvas->FillRect(gfx::Rect(view.width() - insets_.right(), 0, insets_.right(),
|
| - view.height()), color_);
|
| + canvas->FillRect(gfx::Rect(view.width() - insets_.right(), insets_.top(),
|
| + insets_.right(), view.height() - insets_.height()),
|
| + color_);
|
| }
|
|
|
| gfx::Insets SidedSolidBorder::GetInsets() const {
|
|
|