Chromium Code Reviews| Index: gfx/insets.h |
| diff --git a/gfx/insets.h b/gfx/insets.h |
| index ba6cb583f45e1a4b8e367c178faa26fefc87e10b..1ac9ff961a03adc6dccb47aaf4aa672bfe42942f 100644 |
| --- a/gfx/insets.h |
| +++ b/gfx/insets.h |
| @@ -29,6 +29,16 @@ class Insets { |
| left_(left), |
| bottom_(bottom), |
| right_(right) {} |
| + Insets(int top_bottom, int left_right) |
|
sky
2011/01/31 17:14:04
Are you even using the two constructors you're add
Evan Stade
2011/01/31 18:59:49
well I did at first, but then I changed my mind. I
sky
2011/01/31 20:36:25
Given that no one is using them, I say nuke them.
|
| + : top_(top_bottom), |
| + left_(left_right), |
| + bottom_(top_bottom), |
| + right_(left_right) {} |
| + Insets(int inset) |
|
sky
2011/01/31 17:14:04
explicit
Evan Stade
2011/01/31 18:59:49
Done.
|
| + : top_(inset), |
| + left_(inset), |
| + bottom_(inset), |
| + right_(inset) {} |
| #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| explicit Insets(const GtkBorder& border) |
| : top_(border.top), |