| Index: ash/common/system/tray/tray_background_view.cc
|
| diff --git a/ash/common/system/tray/tray_background_view.cc b/ash/common/system/tray/tray_background_view.cc
|
| index 0b4f6bc96e661ad17a63dea2744b13678e74eb54..8e96e95947098df1196d97f710942e88fe40c2f5 100644
|
| --- a/ash/common/system/tray/tray_background_view.cc
|
| +++ b/ash/common/system/tray/tray_background_view.cc
|
| @@ -533,20 +533,12 @@ views::View* TrayBackgroundView::GetBubbleAnchor() const {
|
| gfx::Insets TrayBackgroundView::GetBubbleAnchorInsets() const {
|
| gfx::Insets anchor_insets = GetBubbleAnchor()->GetInsets();
|
| gfx::Insets tray_bg_insets = GetInsets();
|
| - // TODO(estade): for reasons I don't understand, BubbleBorder distances the
|
| - // bubble by the arrow's "interior" thickness even when the paint type is
|
| - // PAINT_NONE.
|
| - const int kBigShadowArrowInteriorThickness = 9;
|
| if (GetAnchorAlignment() == TrayBubbleView::ANCHOR_ALIGNMENT_BOTTOM) {
|
| - return gfx::Insets(kBigShadowArrowInteriorThickness - tray_bg_insets.top(),
|
| - anchor_insets.left(), -tray_bg_insets.bottom(),
|
| - anchor_insets.right());
|
| + return gfx::Insets(-tray_bg_insets.top(), anchor_insets.left(),
|
| + -tray_bg_insets.bottom(), anchor_insets.right());
|
| } else {
|
| - return gfx::Insets(
|
| - anchor_insets.top(),
|
| - kBigShadowArrowInteriorThickness - tray_bg_insets.left(),
|
| - anchor_insets.bottom(),
|
| - kBigShadowArrowInteriorThickness - tray_bg_insets.right());
|
| + return gfx::Insets(anchor_insets.top(), -tray_bg_insets.left(),
|
| + anchor_insets.bottom(), -tray_bg_insets.right());
|
| }
|
| }
|
|
|
|
|