Index: chrome/views/separator.cc |
=================================================================== |
--- chrome/views/separator.cc (revision 3391) |
+++ chrome/views/separator.cc (working copy) |
@@ -31,10 +31,8 @@ |
return 0; |
} |
-void Separator::GetPreferredSize(CSize* out) { |
- DCHECK(out); |
- out->cx = width(); |
- out->cy = fixed_height_; |
+gfx::Size Separator::GetPreferredSize() { |
+ return gfx::Size(width(), fixed_height_); |
} |
} |