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 44be98ab9e4edf3e15cfb570e40d43549defc08d..98fffe99ea3b4435e8783d2be85d27a1dd16f1c6 100644 |
--- a/ash/system/web_notification/ash_popup_alignment_delegate.cc |
+++ b/ash/system/web_notification/ash_popup_alignment_delegate.cc |
@@ -33,7 +33,7 @@ const int kNoToastMarginBorderAndShadowOffset = 2; |
} |
AshPopupAlignmentDelegate::AshPopupAlignmentDelegate(ShelfLayoutManager* shelf) |
- : screen_(NULL), root_window_(NULL), shelf_(shelf), system_tray_height_(0) { |
+ : screen_(NULL), shelf_(shelf), system_tray_height_(0) { |
shelf_->AddObserver(this); |
} |
@@ -48,9 +48,6 @@ void AshPopupAlignmentDelegate::StartObserving(gfx::Screen* screen, |
const gfx::Display& display) { |
screen_ = screen; |
work_area_ = display.work_area(); |
- root_window_ = ash::Shell::GetInstance() |
- ->window_tree_host_manager() |
- ->GetRootWindowForDisplayId(display.id()); |
screen->AddObserver(this); |
Shell::GetInstance()->AddShellObserver(this); |
if (system_tray_height_ > 0) |