summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/clear_browsing_data.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/clear_browsing_data.cc')
-rw-r--r--chrome/browser/views/clear_browsing_data.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/views/clear_browsing_data.cc b/chrome/browser/views/clear_browsing_data.cc
index 0bf697d..30c331f 100644
--- a/chrome/browser/views/clear_browsing_data.cc
+++ b/chrome/browser/views/clear_browsing_data.cc
@@ -176,12 +176,11 @@ void ClearBrowsingDataView::Layout() {
// Get the y-coordinate of our parent so we can position the throbber and
// status message at the bottom of the panel.
- CRect parent_bounds;
- GetParent()->GetLocalBounds(&parent_bounds, false);
+ gfx::Rect parent_bounds = GetParent()->GetLocalBounds(false);
sz = throbber_->GetPreferredSize();
int throbber_topleft_x = kPanelHorizMargin;
- int throbber_topleft_y = parent_bounds.bottom - sz.height() -
+ int throbber_topleft_y = parent_bounds.bottom() - sz.height() -
kButtonVEdgeMargin - 3;
throbber_->SetBounds(throbber_topleft_x, throbber_topleft_y, sz.width(),
sz.height());