summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/status_bubble.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/status_bubble.cc')
-rw-r--r--chrome/browser/views/status_bubble.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/status_bubble.cc b/chrome/browser/views/status_bubble.cc
index 680d94a..6f0a375 100644
--- a/chrome/browser/views/status_bubble.cc
+++ b/chrome/browser/views/status_bubble.cc
@@ -629,9 +629,9 @@ void StatusBubble::SetBounds(int x, int y, int w, int h) {
// If the UI layout is RTL, we need to mirror the position of the bubble
// relative to the parent.
if (l10n_util::GetTextDirection() == l10n_util::RIGHT_TO_LEFT) {
- CRect frame_bounds;
+ gfx::Rect frame_bounds;
frame_->GetBounds(&frame_bounds, false);
- int mirrored_x = frame_bounds.Width() - x - w;
+ int mirrored_x = frame_bounds.width() - x - w;
position_.SetPoint(mirrored_x, y);
} else {
position_.SetPoint(x, y);