| Index: ui/gfx/geometry/insets.h
|
| diff --git a/ui/gfx/geometry/insets.h b/ui/gfx/geometry/insets.h
|
| index 94fb2ef3bdc4a763cce94ff473bebd81be7e7c85..d9eaed4124cab3b79fea11bfdc29e424fe85ea44 100644
|
| --- a/ui/gfx/geometry/insets.h
|
| +++ b/ui/gfx/geometry/insets.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "build/build_config.h"
|
| #include "ui/gfx/geometry/insets_base.h"
|
| +#include "ui/gfx/geometry/insets_f.h"
|
| #include "ui/gfx/gfx_export.h"
|
|
|
| #if defined(TOOLKIT_GTK)
|
| @@ -39,6 +40,10 @@ class GFX_EXPORT Insets : public InsetsBase<Insets, int> {
|
| static_cast<int>(right() * x_scale));
|
| }
|
|
|
| + operator InsetsF() const {
|
| + return InsetsF(top(), left(), bottom(), right());
|
| + }
|
| +
|
| // Returns a string representation of the insets.
|
| std::string ToString() const;
|
| };
|
|
|