Index: chrome/browser/views/html_dialog_view.cc |
=================================================================== |
--- chrome/browser/views/html_dialog_view.cc (revision 10402) |
+++ chrome/browser/views/html_dialog_view.cc (working copy) |
@@ -29,9 +29,9 @@ |
// HtmlDialogView, views::View implementation: |
gfx::Size HtmlDialogView::GetPreferredSize() { |
- CSize out; |
+ gfx::Size out; |
delegate_->GetDialogSize(&out); |
- return gfx::Size(out.cx, out.cy); |
+ return out; |
} |
//////////////////////////////////////////////////////////////////////////////// |
@@ -80,8 +80,8 @@ |
return delegate_->GetDialogContentURL(); |
} |
-void HtmlDialogView::GetDialogSize(CSize* size) const { |
- return delegate_->GetDialogSize(size); |
+void HtmlDialogView::GetDialogSize(gfx::Size* size) const { |
+ delegate_->GetDialogSize(size); |
} |
std::string HtmlDialogView::GetDialogArgs() const { |