diff options
Diffstat (limited to 'chrome/browser/views/bug_report_view.cc')
-rw-r--r-- | chrome/browser/views/bug_report_view.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/views/bug_report_view.cc b/chrome/browser/views/bug_report_view.cc index 77a0d31..0cdd34f 100644 --- a/chrome/browser/views/bug_report_view.cc +++ b/chrome/browser/views/bug_report_view.cc @@ -225,11 +225,10 @@ void BugReportView::SetupControl() { layout->AddPaddingRow(0, kUnrelatedControlVerticalSpacing); } -void BugReportView::GetPreferredSize(CSize *out) { - DCHECK(out); - *out = ChromeViews::Window::GetLocalizedContentsSize( +gfx::Size BugReportView::GetPreferredSize() { + return gfx::Size(ChromeViews::Window::GetLocalizedContentsSize( IDS_BUGREPORT_DIALOG_WIDTH_CHARS, - IDS_BUGREPORT_DIALOG_HEIGHT_LINES).ToSIZE(); + IDS_BUGREPORT_DIALOG_HEIGHT_LINES)); } void BugReportView::ItemChanged(ChromeViews::ComboBox* combo_box, |