Index: chrome/views/hwnd_view_container.cc |
=================================================================== |
--- chrome/views/hwnd_view_container.cc (revision 3391) |
+++ chrome/views/hwnd_view_container.cc (working copy) |
@@ -59,9 +59,9 @@ |
frame_view->SetBounds(CRect(CPoint(0, 0), bounds.Size())); |
} |
-void FillLayout::GetPreferredSize(View* host, CSize* out) { |
+gfx::Size FillLayout::GetPreferredSize(View* host) { |
DCHECK(host->GetChildViewCount() == 1); |
- host->GetChildViewAt(0)->GetPreferredSize(out); |
+ return host->GetChildViewAt(0)->GetPreferredSize(); |
} |
/////////////////////////////////////////////////////////////////////////////// |