Index: ui/gfx/geometry/rect_f.h |
diff --git a/ui/gfx/geometry/rect_f.h b/ui/gfx/geometry/rect_f.h |
index 599eae721c87efce61e628cbe6e1b1573c1002ed..fe20965595ff0e30587307ac1f08fa91fa0ddf75 100644 |
--- a/ui/gfx/geometry/rect_f.h |
+++ b/ui/gfx/geometry/rect_f.h |
@@ -105,7 +105,7 @@ inline RectF ScaleRect(const RectF& r, float scale) { |
// contained within the rect, because they will appear on one of these edges. |
GFX_EXPORT RectF BoundingRect(const PointF& p1, const PointF& p2); |
-#if !defined(COMPILER_MSVC) |
+#if !defined(COMPILER_MSVC) && !defined(__native_client__) |
extern template class RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float>; |
#endif |