Index: ui/gfx/geometry/rect.h |
diff --git a/ui/gfx/geometry/rect.h b/ui/gfx/geometry/rect.h |
index 83258fd7e143252c17bffe779f5119af911c74ea..cf386c55a8b505d55e1443cba2fc196386c74ea1 100644 |
--- a/ui/gfx/geometry/rect.h |
+++ b/ui/gfx/geometry/rect.h |
@@ -131,7 +131,7 @@ inline Rect ScaleToEnclosedRect(const Rect& rect, float scale) { |
return ScaleToEnclosedRect(rect, scale, scale); |
} |
-#if !defined(COMPILER_MSVC) |
+#if !defined(COMPILER_MSVC) && !defined(__native_client__) |
extern template class RectBase<Rect, Point, Size, Insets, Vector2d, int>; |
#endif |