Chromium Code Reviews| Index: ui/views/bubble/bubble_border.cc |
| diff --git a/ui/views/bubble/bubble_border.cc b/ui/views/bubble/bubble_border.cc |
| index 03b422aefb285f83b7d39f88271f1ebbab087b19..bf1aa1aebe5a6e228b752ca227a31425aa9019ba 100644 |
| --- a/ui/views/bubble/bubble_border.cc |
| +++ b/ui/views/bubble/bubble_border.cc |
| @@ -278,7 +278,7 @@ gfx::Size BubbleBorder::GetSizeForContentsSize( |
| std::max(images_->arrow_thickness + images_->border_interior_thickness, |
| images_->border_thickness); |
| // Only take arrow image sizes into account when the bubble tip is shown. |
| - if (arrow_paint_type_ == PAINT_TRANSPARENT || !has_arrow(arrow_)) |
| + if (arrow_paint_type_ == PAINT_NONE || !has_arrow(arrow_)) |
|
msw
2014/08/11 22:26:32
Wow, nice catch!
|
| size.SetToMax(gfx::Size(min, min)); |
| else if (is_arrow_on_horizontal(arrow_)) |
| size.SetToMax(gfx::Size(min_with_arrow_width, min_with_arrow_thickness)); |