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

Unified Diff: ui/gfx/geometry/insets.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.h ('k') | ui/gfx/geometry/insets_f.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/geometry/insets.cc
diff --git a/ui/gfx/geometry/insets.cc b/ui/gfx/geometry/insets.cc
index 13a05b31dd0cfba371a5c279a30e1256e493930b..1342a9d4dbc72039684885b3cd3f7b73ace8532c 100644
--- a/ui/gfx/geometry/insets.cc
+++ b/ui/gfx/geometry/insets.cc
@@ -8,18 +8,6 @@
namespace gfx {
-Insets::Insets() : Insets(0) {}
-
-Insets::Insets(int all) : Insets(all, all, all, all) {}
-
-Insets::Insets(int vertical, int horizontal)
- : Insets(vertical, horizontal, vertical, horizontal) {}
-
-Insets::Insets(int top, int left, int bottom, int right)
- : top_(top), left_(left), bottom_(bottom), right_(right) {}
-
-Insets::~Insets() {}
-
std::string Insets::ToString() const {
// Print members in the same order of the constructor parameters.
return base::StringPrintf("%d,%d,%d,%d", top(), left(), bottom(), right());
« no previous file with comments | « ui/gfx/geometry/insets.h ('k') | ui/gfx/geometry/insets_f.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698