Index: ui/gfx/geometry/size.h |
diff --git a/ui/gfx/geometry/size.h b/ui/gfx/geometry/size.h |
index 754978672e9054cf482f078872f62fd1bf697aae..27face1d9c7ce4e5840715eff0b92794763f2938 100644 |
--- a/ui/gfx/geometry/size.h |
+++ b/ui/gfx/geometry/size.h |
@@ -47,6 +47,7 @@ class GFX_EXPORT Size { |
void set_width(int width) { width_ = width < 0 ? 0 : width; } |
void set_height(int height) { height_ = height < 0 ? 0 : height; } |
+ // This call will CHECK if the area of this size would overflow int. |
int GetArea() const; |
void SetSize(int width, int height) { |