| Index: chrome/views/client_view.cc
|
| ===================================================================
|
| --- chrome/views/client_view.cc (revision 3391)
|
| +++ chrome/views/client_view.cc (working copy)
|
| @@ -22,12 +22,12 @@
|
| ///////////////////////////////////////////////////////////////////////////////
|
| // ClientView, View overrides:
|
|
|
| -void ClientView::GetPreferredSize(CSize* out) {
|
| - DCHECK(out);
|
| +gfx::Size ClientView::GetPreferredSize() {
|
| // |contents_view_| is allowed to be NULL up until the point where this view
|
| // is attached to a ViewContainer.
|
| if (contents_view_)
|
| - contents_view_->GetPreferredSize(out);
|
| + return contents_view_->GetPreferredSize();
|
| + return gfx::Size();
|
| }
|
|
|
| void ClientView::ViewHierarchyChanged(bool is_add, View* parent, View* child) {
|
|
|