| Index: chrome/browser/ui/views/toolbar/browser_actions_container.cc
|
| diff --git a/chrome/browser/ui/views/toolbar/browser_actions_container.cc b/chrome/browser/ui/views/toolbar/browser_actions_container.cc
|
| index 29658f480f918bc32b92328042c8962cd1fdbbd7..3c03cbea69cc8657f1eb7447e25b285cdb31ffd4 100644
|
| --- a/chrome/browser/ui/views/toolbar/browser_actions_container.cc
|
| +++ b/chrome/browser/ui/views/toolbar/browser_actions_container.cc
|
| @@ -713,20 +713,20 @@ void BrowserActionsContainer::OnPaint(gfx::Canvas* canvas) {
|
|
|
| // Convert back to a pixel offset into the container. First find the X
|
| // coordinate of the drop icon.
|
| - const int drop_icon_x = GetLayoutConstant(TOOLBAR_STANDARD_SPACING) +
|
| + int drop_icon_x = GetLayoutConstant(TOOLBAR_STANDARD_SPACING) +
|
| (drop_position_->icon_in_row * ToolbarActionsBar::IconWidth(true));
|
| // Next, find the space before the drop icon.
|
| - const int space_before_drop_icon = platform_settings().item_spacing;
|
| + int space_before_drop_icon = platform_settings().item_spacing;
|
| // Now place the drop indicator halfway between this and the end of the
|
| // previous icon. If there is an odd amount of available space between the
|
| // two icons (or the icon and the address bar) after subtracting the drop
|
| // indicator width, this calculation puts the extra pixel on the left side
|
| // of the indicator, since when the indicator is between the address bar and
|
| // the first icon, it looks better closer to the icon.
|
| - const int drop_indicator_x = drop_icon_x -
|
| + int drop_indicator_x = drop_icon_x -
|
| ((space_before_drop_icon + kDropIndicatorWidth) / 2);
|
| - const int row_height = ToolbarActionsBar::IconHeight();
|
| - const int drop_indicator_y = row_height * drop_position_->row;
|
| + int row_height = ToolbarActionsBar::IconHeight();
|
| + int drop_indicator_y = row_height * drop_position_->row;
|
| gfx::Rect indicator_bounds(drop_indicator_x,
|
| drop_indicator_y,
|
| kDropIndicatorWidth,
|
|
|