summaryrefslogtreecommitdiffstats
path: root/chrome/browser/modal_html_dialog_delegate.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 01:51:21 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 01:51:21 +0000
commit387b71b7d1d1bf267cbe088136610959b319f3b3 (patch)
treec364e3543f8b9185f65086ef678989edd0b69966 /chrome/browser/modal_html_dialog_delegate.cc
parentceed72954b3444d1f06468a2edc6fe41aeb8f012 (diff)
downloadchromium_src-387b71b7d1d1bf267cbe088136610959b319f3b3.zip
chromium_src-387b71b7d1d1bf267cbe088136610959b319f3b3.tar.gz
chromium_src-387b71b7d1d1bf267cbe088136610959b319f3b3.tar.bz2
Make chrome_plugin_host.cc and chrome_plugin_util.cc compile on Posix.
Review URL: http://codereview.chromium.org/27150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10436 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/modal_html_dialog_delegate.cc')
-rw-r--r--chrome/browser/modal_html_dialog_delegate.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/modal_html_dialog_delegate.cc b/chrome/browser/modal_html_dialog_delegate.cc
index 5148c38..68d364c 100644
--- a/chrome/browser/modal_html_dialog_delegate.cc
+++ b/chrome/browser/modal_html_dialog_delegate.cc
@@ -45,9 +45,9 @@ GURL ModalHtmlDialogDelegate::GetDialogContentURL() const {
return params_.url;
}
-void ModalHtmlDialogDelegate::GetDialogSize(CSize* size) const {
- size->cx = params_.width;
- size->cy = params_.height;
+void ModalHtmlDialogDelegate::GetDialogSize(gfx::Size* size) const {
+ size->set_width(params_.width);
+ size->set_height(params_.height);
}
std::string ModalHtmlDialogDelegate::GetDialogArgs() const {