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

Unified Diff: ui/gfx/size.cc

Issue 11428076: Inline hot ctor/dtors for struct-like gfx:: geometry types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix style issues Created 8 years, 1 month 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
« no previous file with comments | « ui/gfx/size.h ('k') | ui/gfx/size_f.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/size.cc
diff --git a/ui/gfx/size.cc b/ui/gfx/size.cc
index 6d28ded281ab4b039bd63aea70ae695214269588..a9a0bddba882669be74a5be856ef6352c312f396 100644
--- a/ui/gfx/size.cc
+++ b/ui/gfx/size.cc
@@ -16,13 +16,6 @@ namespace gfx {
template class SizeBase<Size, int>;
-Size::Size() : SizeBase<Size, int>(0, 0) {}
-
-Size::Size(int width, int height) : SizeBase<Size, int>(0, 0) {
- set_width(width);
- set_height(height);
-}
-
#if defined(OS_MACOSX)
Size::Size(const CGSize& s) : SizeBase<Size, int>(0, 0) {
set_width(s.width);
@@ -36,8 +29,6 @@ Size& Size::operator=(const CGSize& s) {
}
#endif
-Size::~Size() {}
-
#if defined(OS_WIN)
SIZE Size::ToSIZE() const {
SIZE s;
« no previous file with comments | « ui/gfx/size.h ('k') | ui/gfx/size_f.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698