Chromium Code Reviews| Index: chrome/browser/views/info_bubble.cc |
| =================================================================== |
| --- chrome/browser/views/info_bubble.cc (revision 13665) |
| +++ chrome/browser/views/info_bubble.cc (working copy) |
| @@ -360,23 +360,24 @@ |
| // Draw the border. |
| // Top border. |
| - canvas->DrawRectInt(kBorderColor1, |
| + canvas->DrawLineInt(kBorderColor1, |
| kInfoBubbleCornerWidth, bubble_y, |
| - border_w, |
| - 0); |
| + kInfoBubbleCornerWidth + border_w, bubble_y); |
| // Bottom border. |
| - canvas->DrawRectInt(kBorderColor1, |
| + canvas->DrawLineInt(kBorderColor1, |
| kInfoBubbleCornerWidth, bubble_y + bubble_h - 1, |
| - border_w, 0); |
| + kInfoBubbleCornerWidth + border_w, |
| + bubble_y + bubble_h - 1); |
| // Left border. |
| - canvas->DrawRectInt(kBorderColor1, |
| + canvas->DrawLineInt(kBorderColor1, |
| bubble_x, bubble_y + kInfoBubbleCornerHeight, |
| - 0, border_h); |
| + bubble_x, bubble_y + kInfoBubbleCornerHeight + border_h); |
| // Right border. |
| - canvas->DrawRectInt(kBorderColor1, |
| + canvas->DrawLineInt(kBorderColor1, |
| width() - 1, bubble_y + kInfoBubbleCornerHeight, |
| - 0, border_h); |
|
Dean McNamee
2009/04/15 08:33:51
couldn't you have just changed all of these 0s to
sky
2009/04/15 14:44:22
That resulted in at least a two pixel line. To me
|
| + width() - 1, |
| + bubble_y + kInfoBubbleCornerHeight + border_h); |
| // Draw the corners. |
| canvas->DrawBitmapInt(*kInfoBubbleCornerTopLeft, 0, bubble_y); |