Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3487)

Unified Diff: ash/system/web_notification/ash_popup_alignment_delegate.cc

Issue 1608053002: Remove now-unnecessary wrappers around gfx::Screen::GetScreen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-5
Patch Set: cros Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a452f18047b9af07a1336f44aa07354d2c9a29e6..84e21a9f99d3610a1ad2c00d8350a9247beb3bfe 100644
--- a/ash/system/web_notification/ash_popup_alignment_delegate.cc
+++ b/ash/system/web_notification/ash_popup_alignment_delegate.cc
@@ -130,7 +130,7 @@ void AshPopupAlignmentDelegate::UpdateShelf() {
}
gfx::Display AshPopupAlignmentDelegate::GetCurrentDisplay() const {
- return Shell::GetScreen()->GetDisplayNearestWindow(
+ return gfx::Screen::GetScreen()->GetDisplayNearestWindow(
shelf_->shelf_widget()->GetNativeView());
}
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698