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

Unified Diff: ui/gfx/geometry/insets_f.cc

Issue 2051343002: Make various gfx classes more amenable to use as compile-time constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete destructor Created 4 years, 6 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
« no previous file with comments | « ui/gfx/geometry/insets_f.h ('k') | ui/gfx/geometry/insets_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/geometry/insets_f.cc
diff --git a/ui/gfx/geometry/insets_f.cc b/ui/gfx/geometry/insets_f.cc
index e4368913ccda0f44ccea5a831a777d79c69ce29c..c1bc27ec524552fde8e4f93fb6b15245c76effc0 100644
--- a/ui/gfx/geometry/insets_f.cc
+++ b/ui/gfx/geometry/insets_f.cc
@@ -8,18 +8,6 @@
namespace gfx {
-InsetsF::InsetsF() : InsetsF(0.f) {}
-
-InsetsF::InsetsF(float all) : InsetsF(all, all, all, all) {}
-
-InsetsF::InsetsF(float vertical, float horizontal)
- : InsetsF(vertical, horizontal, vertical, horizontal) {}
-
-InsetsF::InsetsF(float top, float left, float bottom, float right)
- : top_(top), left_(left), bottom_(bottom), right_(right) {}
-
-InsetsF::~InsetsF() {}
-
std::string InsetsF::ToString() const {
// Print members in the same order of the constructor parameters.
return base::StringPrintf("%f,%f,%f,%f", top(), left(), bottom(), right());
« no previous file with comments | « ui/gfx/geometry/insets_f.h ('k') | ui/gfx/geometry/insets_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698