Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3918)

Unified Diff: chrome/browser/modal_html_dialog_delegate.cc

Issue 27150: Make chrome_plugin_host.cc and chrome_plugin_util.cc compile on Posix. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/modal_html_dialog_delegate.cc
===================================================================
--- chrome/browser/modal_html_dialog_delegate.cc (revision 10402)
+++ chrome/browser/modal_html_dialog_delegate.cc (working copy)
@@ -45,9 +45,9 @@
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 {

Powered by Google App Engine
This is Rietveld 408576698