| Index: ui/gfx/geometry/insets_f.cc
|
| diff --git a/ui/gfx/geometry/insets_f.cc b/ui/gfx/geometry/insets_f.cc
|
| index 24ccd627bdb314eb8b2d3bdab8bac5ba0ac3dedf..e4368913ccda0f44ccea5a831a777d79c69ce29c 100644
|
| --- a/ui/gfx/geometry/insets_f.cc
|
| +++ b/ui/gfx/geometry/insets_f.cc
|
| @@ -8,7 +8,12 @@
|
|
|
| namespace gfx {
|
|
|
| -InsetsF::InsetsF() : InsetsF(0.f, 0.f, 0.f, 0.f) {}
|
| +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) {}
|
|
|