Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(907)

Unified Diff: ui/gfx/rect.h

Issue 10386220: Add instantiation declarations for PointBase, SizeBase, RectBase (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: not for msvc Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/point_f.h ('k') | ui/gfx/rect_f.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/gfx/point_f.h ('k') | ui/gfx/rect_f.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698