Chromium Code Reviews| Index: ui/gfx/point_base.h |
| diff --git a/ui/gfx/point_base.h b/ui/gfx/point_base.h |
| index 1568c5235a642a2119703fcbaac7372baaa63361..32735b9ec7af1547d5c71acfa3b7bb7284a3686e 100644 |
| --- a/ui/gfx/point_base.h |
| +++ b/ui/gfx/point_base.h |
| @@ -80,7 +80,9 @@ class UI_EXPORT PointBase { |
| protected: |
| PointBase(Type x, Type y) : x_(x), y_(y) {} |
| - virtual ~PointBase() {} |
| + // Destructor is intentionally made non virtual and protected. |
| + // Do not make this public. |
| + ~PointBase() {} |
| private: |
| Type x_; |