Index: ui/gfx/rect.h |
diff --git a/ui/gfx/rect.h b/ui/gfx/rect.h |
index d1ffb70b12c9f392fa092d5f9f6525ef66310563..c1983a9c1b33e7493d6561f24a24712390c2f7ea 100644 |
--- a/ui/gfx/rect.h |
+++ b/ui/gfx/rect.h |
@@ -67,6 +67,10 @@ class UI_EXPORT Rect : public RectBase<Rect, Point, Size, Insets, int> { |
std::string ToString() const; |
}; |
+#if !defined(COMPILER_MSVC) |
+extern template class RectBase<Rect, Point, Size, Insets, int>; |
+#endif |
+ |
} // namespace gfx |
#endif // UI_GFX_RECT_H_ |