Index: ui/gfx/rect_f.h |
diff --git a/ui/gfx/rect_f.h b/ui/gfx/rect_f.h |
index 8439eb14da1a2a5f81c1a5478a37a8eeb325654f..db003249c792e4196a115a036275b8617ec933b9 100644 |
--- a/ui/gfx/rect_f.h |
+++ b/ui/gfx/rect_f.h |
@@ -10,13 +10,15 @@ |
#include "ui/gfx/point_f.h" |
#include "ui/gfx/rect_base.h" |
#include "ui/gfx/size_f.h" |
+#include "ui/gfx/vector2d_f.h" |
namespace gfx { |
class InsetsF; |
// A floating version of gfx::Rect. |
-class UI_EXPORT RectF : public RectBase<RectF, PointF, SizeF, InsetsF, float> { |
+class UI_EXPORT RectF |
+ : public RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float> { |
public: |
RectF(); |
RectF(float width, float height); |
@@ -59,7 +61,7 @@ inline RectF ScaleRect(const RectF& r, float scale) { |
} |
#if !defined(COMPILER_MSVC) |
-extern template class RectBase<RectF, PointF, SizeF, InsetsF, float>; |
+extern template class RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float>; |
#endif |
} // namespace gfx |