Index: chrome/browser/views/keyword_editor_view.cc |
=================================================================== |
--- chrome/browser/views/keyword_editor_view.cc (revision 3391) |
+++ chrome/browser/views/keyword_editor_view.cc (working copy) |
@@ -426,11 +426,10 @@ |
Layout(); |
} |
-void KeywordEditorView::GetPreferredSize(CSize* out) { |
- DCHECK(out); |
- *out = ChromeViews::Window::GetLocalizedContentsSize( |
+gfx::Size KeywordEditorView::GetPreferredSize() { |
+ return gfx::Size(ChromeViews::Window::GetLocalizedContentsSize( |
IDS_SEARCHENGINES_DIALOG_WIDTH_CHARS, |
- IDS_SEARCHENGINES_DIALOG_HEIGHT_LINES).ToSIZE(); |
+ IDS_SEARCHENGINES_DIALOG_HEIGHT_LINES)); |
} |
bool KeywordEditorView::CanResize() const { |