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

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

Issue 2472233002: Fix a bug of PopupAlignmentDelegate on non-primary display (Closed)
Patch Set: Addressed comment: returning a rect instead of top Created 4 years, 1 month 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/web_notification_tray_unittest.cc
diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc
index c8a71e0544ff752f5f276170474080a77b2e4137..0b5820ccf2790d38db834d94284894ff891e8496 100644
--- a/ash/system/web_notification/web_notification_tray_unittest.cc
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc
@@ -140,7 +140,7 @@ class WebNotificationTrayTest : public test::AshMDTestBase {
}
int GetPopupWorkAreaBottomForTray(WebNotificationTray* tray) {
- return tray->popup_alignment_delegate_->GetWorkAreaBottom();
+ return tray->popup_alignment_delegate_->GetWorkArea().bottom();
}
bool IsPopupVisible() { return GetTray()->IsPopupVisible(); }

Powered by Google App Engine
This is Rietveld 408576698