| Index: ash/common/system/tray/throbber_view.cc
|
| diff --git a/ash/common/system/tray/throbber_view.cc b/ash/common/system/tray/throbber_view.cc
|
| index 081fe283497829d974a4cd2248014b04e19ecae4..5141b9c508a39abded1a8cab90e29afb0a1424bc 100644
|
| --- a/ash/common/system/tray/throbber_view.cc
|
| +++ b/ash/common/system/tray/throbber_view.cc
|
| @@ -18,11 +18,9 @@ const int kThrobberAnimationDurationMs = 200;
|
|
|
| } // namespace
|
|
|
| -SystemTrayThrobber::SystemTrayThrobber() : views::SmoothedThrobber() {
|
| -}
|
| +SystemTrayThrobber::SystemTrayThrobber() : views::SmoothedThrobber() {}
|
|
|
| -SystemTrayThrobber::~SystemTrayThrobber() {
|
| -}
|
| +SystemTrayThrobber::~SystemTrayThrobber() {}
|
|
|
| void SystemTrayThrobber::SetTooltipText(const base::string16& tooltip_text) {
|
| tooltip_text_ = tooltip_text;
|
| @@ -47,8 +45,7 @@ ThrobberView::ThrobberView() {
|
| layer()->SetOpacity(0.0);
|
| }
|
|
|
| -ThrobberView::~ThrobberView() {
|
| -}
|
| +ThrobberView::~ThrobberView() {}
|
|
|
| gfx::Size ThrobberView::GetPreferredSize() const {
|
| return gfx::Size(ash::kTrayPopupItemHeight, ash::kTrayPopupItemHeight);
|
| @@ -57,8 +54,7 @@ gfx::Size ThrobberView::GetPreferredSize() const {
|
| void ThrobberView::Layout() {
|
| View* child = child_at(0);
|
| gfx::Size ps = child->GetPreferredSize();
|
| - child->SetBounds((width() - ps.width()) / 2,
|
| - (height() - ps.height()) / 2,
|
| + child->SetBounds((width() - ps.width()) / 2, (height() - ps.height()) / 2,
|
| ps.width(), ps.height());
|
| SizeToPreferredSize();
|
| }
|
|
|