Index: ui/gfx/rect_f.h |
diff --git a/ui/gfx/rect_f.h b/ui/gfx/rect_f.h |
index 401070da988366f8d336d91902611705b56c85ac..bfb5e8644d6dca92aa8241023cd62234231b6975 100644 |
--- a/ui/gfx/rect_f.h |
+++ b/ui/gfx/rect_f.h |
@@ -33,6 +33,10 @@ class UI_EXPORT RectF : public RectBase<RectF, PointF, SizeF, InsetsF, float> { |
std::string ToString() const; |
}; |
+#if !defined(COMPILER_MSVC) |
+extern template class RectBase<RectF, PointF, SizeF, InsetsF, float>; |
+#endif |
+ |
} // namespace gfx |
#endif // UI_GFX_RECT_H_ |