| Index: chrome/browser/extensions/extension_action.cc
|
| diff --git a/chrome/browser/extensions/extension_action.cc b/chrome/browser/extensions/extension_action.cc
|
| index 0b3c5a5597e5063789333daccadc4cd8d37ba6da..09c256e62353a8d30165091d9c6d022da93a1971 100644
|
| --- a/chrome/browser/extensions/extension_action.cc
|
| +++ b/chrome/browser/extensions/extension_action.cc
|
| @@ -460,7 +460,7 @@ void ExtensionAction::DoPaintBadge(
|
| int rect_y = bounds.bottom() - bottom_margin - kBadgeHeight;
|
| int rect_width = badge_width;
|
| int rect_x = (badge_width >= kCenterAlignThreshold) ?
|
| - (bounds.x() + bounds.width() - badge_width) / 2 :
|
| + bounds.x() + (bounds.width() - badge_width) / 2 :
|
| bounds.right() - badge_width;
|
| gfx::Rect rect(rect_x, rect_y, rect_width, rect_height);
|
|
|
|
|