Index: ash/system/tray/tray_background_view.cc |
diff --git a/ash/system/tray/tray_background_view.cc b/ash/system/tray/tray_background_view.cc |
index f4c29071e48e15ca6d4d5d2ea2e0cf7c747e8aee..7d86d143b12c41d7849cbb5f254a124709fe3b81 100644 |
--- a/ash/system/tray/tray_background_view.cc |
+++ b/ash/system/tray/tray_background_view.cc |
@@ -388,7 +388,10 @@ void TrayBackgroundView::UpdateBubbleViewArrow( |
bubble_view->GetWidget()->GetNativeView()->GetRootWindow(); |
ash::internal::ShelfLayoutManager* shelf = |
ash::GetRootWindowController(root_window)->shelf(); |
- bubble_view->SetPaintArrow(shelf->IsVisible()); |
+ if (shelf->IsVisible()) |
msw
2013/02/21 07:29:29
nit: move the condition into the call as a ternary
dewittj
2013/02/21 19:13:57
Done.
|
+ bubble_view->SetArrowPaintType(views::BubbleBorder::PAINT_NORMAL); |
+ else |
+ bubble_view->SetArrowPaintType(views::BubbleBorder::PAINT_TRANSPARENT); |
} |
} // namespace internal |