Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 10203004: no virtual destructor for point/size/rect (Closed)

Created:
8 years, 8 months ago by oshima
Modified:
8 years, 8 months ago
Reviewers:
sky, jbates
CC:
chromium-reviews
Visibility:
Public.

Description

Noone should use base class, so it's safe to remove virtual destructors for point/size/rect BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133795

Patch Set 1 #

Total comments: 3

Patch Set 2 : added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M ui/gfx/point.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/point_base.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M ui/gfx/point_f.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/rect.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/rect_base.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M ui/gfx/rect_f.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/size.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/size_base.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M ui/gfx/size_f.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
oshima
8 years, 8 months ago (2012-04-24 00:47:58 UTC) #1
jbates
LGTM, thanks.
8 years, 8 months ago (2012-04-24 16:21:05 UTC) #2
oshima
+sky for OWNERS review
8 years, 8 months ago (2012-04-24 16:41:55 UTC) #3
sky
http://codereview.chromium.org/10203004/diff/1/ui/gfx/point.h File ui/gfx/point.h (right): http://codereview.chromium.org/10203004/diff/1/ui/gfx/point.h#newcode37 ui/gfx/point.h:37: ~Point() {} Move the destructors to be protected so ...
8 years, 8 months ago (2012-04-24 17:41:14 UTC) #4
jbates
http://codereview.chromium.org/10203004/diff/1/ui/gfx/point.h File ui/gfx/point.h (right): http://codereview.chromium.org/10203004/diff/1/ui/gfx/point.h#newcode37 ui/gfx/point.h:37: ~Point() {} On 2012/04/24 17:41:14, sky wrote: > Move ...
8 years, 8 months ago (2012-04-24 17:44:47 UTC) #5
oshima
http://codereview.chromium.org/10203004/diff/1/ui/gfx/point.h File ui/gfx/point.h (right): http://codereview.chromium.org/10203004/diff/1/ui/gfx/point.h#newcode37 ui/gfx/point.h:37: ~Point() {} Yes, this dtor needs to be still ...
8 years, 8 months ago (2012-04-24 17:54:10 UTC) #6
sky
LGTM Make sure you run through clang, it might be unhappy.
8 years, 8 months ago (2012-04-24 19:38:42 UTC) #7
oshima
On 2012/04/24 19:38:42, sky wrote: > LGTM > > Make sure you run through clang, ...
8 years, 8 months ago (2012-04-24 21:11:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/10203004/11001
8 years, 8 months ago (2012-04-24 21:11:21 UTC) #9
commit-bot: I haz the power
8 years, 8 months ago (2012-04-24 22:56:10 UTC) #10
Change committed as 133795

Powered by Google App Engine
This is Rietveld 408576698