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

Unified Diff: ui/gfx/point_f.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/point_f.h ('k') | ui/gfx/rect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/point_f.cc
diff --git a/ui/gfx/point_f.cc b/ui/gfx/point_f.cc
index ea683030e528527b51ecec92a37826c90f7d6d44..26080f593793057f85e4e3d6fc1643774f884078 100644
--- a/ui/gfx/point_f.cc
+++ b/ui/gfx/point_f.cc
@@ -10,14 +10,6 @@ namespace gfx {
template class PointBase<PointF, float, Vector2dF>;
-PointF::PointF() : PointBase<PointF, float, Vector2dF>(0, 0) {
-}
-
-PointF::PointF(float x, float y) : PointBase<PointF, float, Vector2dF>(x, y) {
-}
-
-PointF::~PointF() {}
-
std::string PointF::ToString() const {
return base::StringPrintf("%f,%f", x(), y());
}
« no previous file with comments | « ui/gfx/point_f.h ('k') | ui/gfx/rect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698