summaryrefslogtreecommitdiffstats
path: root/chrome/views/throbber.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/throbber.cc')
-rw-r--r--chrome/views/throbber.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/throbber.cc b/chrome/views/throbber.cc
index eee8a02..754ea6c 100644
--- a/chrome/views/throbber.cc
+++ b/chrome/views/throbber.cc
@@ -161,8 +161,8 @@ void CheckmarkThrobber::Paint(ChromeCanvas* canvas) {
}
// Otherwise we paint our tick mark or nothing depending on our state.
if (checked_) {
- int checkmark_x = (GetWidth() - checkmark_->width()) / 2;
- int checkmark_y = (GetHeight() - checkmark_->height()) / 2;
+ int checkmark_x = (width() - checkmark_->width()) / 2;
+ int checkmark_y = (height() - checkmark_->height()) / 2;
canvas->DrawBitmapInt(*checkmark_, checkmark_x, checkmark_y);
}
}