Index: ui/gfx/size_f.h |
diff --git a/ui/gfx/size_f.h b/ui/gfx/size_f.h |
index b522da80421185afeaa7be6f843fad0c85e6f482..3a04d19dc9274cde62f775403b22ab81dedda4bc 100644 |
--- a/ui/gfx/size_f.h |
+++ b/ui/gfx/size_f.h |
@@ -26,6 +26,10 @@ class UI_EXPORT SizeF : public SizeBase<SizeF, float> { |
std::string ToString() const; |
}; |
+#if !defined(COMPILER_MSVC) |
+extern template class SizeBase<SizeF, float>; |
+#endif |
+ |
} // namespace gfx |
#endif // UI_GFX_SIZE_F_H_ |