Index: ui/gfx/rect_base.h |
diff --git a/ui/gfx/rect_base.h b/ui/gfx/rect_base.h |
index 3ccd28de754088fcee87159cfdbdbfb80153b755..3a273fe2da367eb6298e4993ce7ebfc48f026b72 100644 |
--- a/ui/gfx/rect_base.h |
+++ b/ui/gfx/rect_base.h |
@@ -140,7 +140,9 @@ class UI_EXPORT RectBase { |
RectBase(const PointClass& origin, const SizeClass& size); |
explicit RectBase(const SizeClass& size); |
explicit RectBase(const PointClass& origin); |
- virtual ~RectBase(); |
+ // Destructor is intentionally made non virtual and protected. |
+ // Do not make this public. |
+ ~RectBase(); |
private: |
PointClass origin_; |