Index: chrome/browser/chromeos/status/data_promo_notification.cc |
diff --git a/chrome/browser/chromeos/status/data_promo_notification.cc b/chrome/browser/chromeos/status/data_promo_notification.cc |
index 8be6d77ea90c39b0e0adf44ed0ff3a9527eba0f0..a4dfed1eb3fddfd196d2aa56727851922506d43c 100644 |
--- a/chrome/browser/chromeos/status/data_promo_notification.cc |
+++ b/chrome/browser/chromeos/status/data_promo_notification.cc |
@@ -160,7 +160,7 @@ void DataPromoNotification::ShowOptionalMobileDataPromoNotification( |
return; |
} |
- gfx::Rect button_bounds = host->GetScreenBounds(); |
+ gfx::Rect button_bounds = host->GetBoundsInScreen(); |
// StatusArea button Y position is usually -1, fix it so that |
// Contains() method for screen bounds works correctly. |
button_bounds.set_y(button_bounds.y() + 1); |