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

Issue 1121633002: win: Work on reducing number of style plugin warnings. (Closed)

Created:
5 years, 7 months ago by Nico
Modified:
5 years, 7 months ago
CC:
aboxhall+watch_chromium.org, chromium-reviews, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, grt+watch_chromium.org, je_julie(Not used), nektar+watch_chromium.org, plundblad+watch_chromium.org, tfarina, wfh+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

win: Work on reducing number of style plugin warnings. BUG=467287 Committed: https://crrev.com/9d2ba75cedbc180aa019b25c05ff39c5df6ca04b Cr-Commit-Position: refs/heads/master@{#327867}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -84 lines) Patch
M chrome/common/importer/importer_data_types.h View 1 chunk +3 lines, -0 lines 3 comments Download
M chrome/common/importer/importer_data_types.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/installer/util/installation_state.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/installer/util/installation_state.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/installer/util/installer_state.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/installer/util/installer_state.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_win.h View 2 chunks +24 lines, -66 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_win.cc View 2 chunks +117 lines, -0 lines 0 comments Download
M ui/base/win/accessibility_misc_utils.h View 2 chunks +9 lines, -16 lines 0 comments Download
M ui/base/win/accessibility_misc_utils.cc View 2 chunks +42 lines, -0 lines 0 comments Download
M ui/gfx/platform_font_win.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/platform_font_win.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/test/test_views_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/test/test_views_delegate_aura.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Nico
5 years, 7 months ago (2015-05-01 00:24:13 UTC) #2
Lei Zhang
chrome/ lgtm
5 years, 7 months ago (2015-05-01 01:34:39 UTC) #4
Nico
Thanks. Wanna look at ui/ too? (I'm owner everywhere, just need a regular old lg) ...
5 years, 7 months ago (2015-05-01 02:17:24 UTC) #5
dcheng
lgtm
5 years, 7 months ago (2015-05-01 02:23:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1121633002/20001
5 years, 7 months ago (2015-05-01 02:38:46 UTC) #8
Peter Kasting
https://codereview.chromium.org/1121633002/diff/20001/chrome/common/importer/importer_data_types.h File chrome/common/importer/importer_data_types.h (right): https://codereview.chromium.org/1121633002/diff/20001/chrome/common/importer/importer_data_types.h#newcode63 chrome/common/importer/importer_data_types.h:63: ~ImporterIE7PasswordInfo(); Most of these changes make sense, but this ...
5 years, 7 months ago (2015-05-01 02:42:01 UTC) #10
Nico
https://codereview.chromium.org/1121633002/diff/20001/chrome/common/importer/importer_data_types.h File chrome/common/importer/importer_data_types.h (right): https://codereview.chromium.org/1121633002/diff/20001/chrome/common/importer/importer_data_types.h#newcode63 chrome/common/importer/importer_data_types.h:63: ~ImporterIE7PasswordInfo(); On 2015/05/01 02:42:01, Peter Kasting wrote: > Most ...
5 years, 7 months ago (2015-05-01 02:46:38 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-05-01 02:49:24 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9d2ba75cedbc180aa019b25c05ff39c5df6ca04b Cr-Commit-Position: refs/heads/master@{#327867}
5 years, 7 months ago (2015-05-01 02:51:38 UTC) #13
Peter Kasting
5 years, 7 months ago (2015-05-01 03:48:32 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/1121633002/diff/20001/chrome/common/importer/...
File chrome/common/importer/importer_data_types.h (right):

https://codereview.chromium.org/1121633002/diff/20001/chrome/common/importer/...
chrome/common/importer/importer_data_types.h:63: ~ImporterIE7PasswordInfo();
On 2015/05/01 02:46:37, Nico wrote:
> On 2015/05/01 02:42:01, Peter Kasting wrote:
> > Most of these changes make sense, but this one doesn't.  While we should
have
> an
> > explicit destructor if there's an explicit constructor, in this case there
> > wasn't an explicit either.  It doesn't seem reasonable to require explicit
> > (empty) constructors for data-only structs, even when they have non-POD
> members.
> 
> There are three classes with constructors in this class. The implicit
> constructor and destructor have nontrivial code size, so they're going out of
> line. (Note that this has been enforced on non-win for years, this is just
doing
> the same thing on win)

Is there a way to make that border between trivial and nontrivial code size
clear to the reader?  I'm aware of that general rule, but it wasn't clear to me
(and still wouldn't be if I came across this code) that that's the reason for
the out-of-line definition here.

Powered by Google App Engine
This is Rietveld 408576698