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

Unified Diff: chrome/views/separator.cc

Issue 7344: Convert GetPreferredSize from:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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/views/separator.cc
===================================================================
--- chrome/views/separator.cc (revision 3391)
+++ chrome/views/separator.cc (working copy)
@@ -31,10 +31,8 @@
return 0;
}
-void Separator::GetPreferredSize(CSize* out) {
- DCHECK(out);
- out->cx = width();
- out->cy = fixed_height_;
+gfx::Size Separator::GetPreferredSize() {
+ return gfx::Size(width(), fixed_height_);
}
}

Powered by Google App Engine
This is Rietveld 408576698