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

Unified Diff: ui/gfx/rect.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/rect.h ('k') | ui/gfx/rect_f.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/rect.cc
diff --git a/ui/gfx/rect.cc b/ui/gfx/rect.cc
index 0fe38131de3e327a6f7f3ddb8201780f1b683600..a562faf56c4067222cc96bd31e483baf886def75 100644
--- a/ui/gfx/rect.cc
+++ b/ui/gfx/rect.cc
@@ -23,27 +23,6 @@ template class RectBase<Rect, Point, Size, Insets, Vector2d, int>;
typedef class RectBase<Rect, Point, Size, Insets, Vector2d, int> RectBaseT;
-Rect::Rect() : RectBaseT(gfx::Point()) {
-}
-
-Rect::Rect(int width, int height)
- : RectBaseT(gfx::Size(width, height)) {
-}
-
-Rect::Rect(int x, int y, int width, int height)
- : RectBaseT(gfx::Point(x, y), gfx::Size(width, height)) {
-}
-
-Rect::Rect(const gfx::Size& size)
- : RectBaseT(size) {
-}
-
-Rect::Rect(const gfx::Point& origin, const gfx::Size& size)
- : RectBaseT(origin, size) {
-}
-
-Rect::~Rect() {}
-
#if defined(OS_WIN)
Rect::Rect(const RECT& r)
: RectBaseT(gfx::Point(r.left, r.top)) {
« no previous file with comments | « ui/gfx/rect.h ('k') | ui/gfx/rect_f.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698