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

Unified Diff: ui/gfx/size_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/size_f.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/size_f.cc
diff --git a/ui/gfx/size_f.cc b/ui/gfx/size_f.cc
index 03c34ec75ff735d2429983a90f31f0265fb05b83..69e0ee9b6ff2e2b277756f1d23022c8761f56ea9 100644
--- a/ui/gfx/size_f.cc
+++ b/ui/gfx/size_f.cc
@@ -11,15 +11,6 @@ namespace gfx {
template class SizeBase<SizeF, float>;
-SizeF::SizeF() : SizeBase<SizeF, float>(0, 0) {}
-
-SizeF::SizeF(float width, float height) : SizeBase<SizeF, float>(0, 0) {
- set_width(width);
- set_height(height);
-}
-
-SizeF::~SizeF() {}
-
std::string SizeF::ToString() const {
return base::StringPrintf("%fx%f", width(), height());
}
« no previous file with comments | « ui/gfx/size_f.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698