Chromium Code Reviews| Index: chrome/views/throbber.cc |
| =================================================================== |
| --- chrome/views/throbber.cc (revision 3391) |
| +++ chrome/views/throbber.cc (working copy) |
| @@ -62,10 +62,8 @@ |
| SchedulePaint(); |
| } |
| -void Throbber::GetPreferredSize(CSize *out) { |
| - DCHECK(out); |
| - |
| - out->SetSize(frames_->height(), frames_->height()); |
| +gfx::Size Throbber::GetPreferredSize() { |
| + return gfx::Size(frames_->height(), frames_->height()); |
| } |
| void Throbber::Paint(ChromeCanvas* canvas) { |