Index: ash/system/web_notification/ash_popup_alignment_delegate.cc |
diff --git a/ash/system/web_notification/ash_popup_alignment_delegate.cc b/ash/system/web_notification/ash_popup_alignment_delegate.cc |
index 96ffc795396cf4012729cf0d80a5998fdd3ee688..b4aec7f60913dfb914644dddc69fe687e356c589 100644 |
--- a/ash/system/web_notification/ash_popup_alignment_delegate.cc |
+++ b/ash/system/web_notification/ash_popup_alignment_delegate.cc |
@@ -149,6 +149,9 @@ void AshPopupAlignmentDelegate::UpdateWorkArea(const gfx::Display& display, |
gfx::Insets(0, 0, 0, width), |
gfx::Insets(width, 0, 0, 0))); |
+ if (shelf_) |
+ work_area_.Union(shelf_->dock_bounds()); |
oshima
2015/05/06 21:01:18
I don't think this is correct. let me take a look.
jonross
2015/05/07 18:54:27
Updated per offline discussions. ShelfLayoutManage
|
+ |
DoUpdateIfPossible(); |
} |