| Index: chrome/browser/views/html_dialog_view.cc
|
| ===================================================================
|
| --- chrome/browser/views/html_dialog_view.cc (revision 3391)
|
| +++ chrome/browser/views/html_dialog_view.cc (working copy)
|
| @@ -28,8 +28,10 @@
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // HtmlDialogView, ChromeViews::View implementation:
|
|
|
| -void HtmlDialogView::GetPreferredSize(CSize *out) {
|
| - delegate_->GetDialogSize(out);
|
| +gfx::Size HtmlDialogView::GetPreferredSize() {
|
| + CSize out;
|
| + delegate_->GetDialogSize(&out);
|
| + return gfx::Size(out.cx, out.cy);
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|