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

Issue 618573002: [Base] Use variadic template in callback_list.h (wave 1) (Closed)

Created:
6 years, 2 months ago by tzik
Modified:
6 years, 2 months ago
Reviewers:
awong, lfg
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Base] Use variadic template in callback_list.h Replace pump.py generated base/callback_list.h with variadic template version. BUG=None Committed: https://crrev.com/a28756fae426023c53542f08c1bf80397a28f677 Cr-Commit-Position: refs/heads/master@{#298529}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -452 lines) Patch
M base/callback_list.h View 2 chunks +7 lines, -183 lines 0 comments Download
D base/callback_list.h.pump View 1 chunk +0 lines, -269 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
tzik
PTL. This piece doesn't need workaround.
6 years, 2 months ago (2014-09-30 16:26:38 UTC) #2
awong
lgtm
6 years, 2 months ago (2014-10-07 18:42:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/618573002/1
6 years, 2 months ago (2014-10-07 18:43:38 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as 5443b890b16fbfeb04cd75f759323ec80e437b38
6 years, 2 months ago (2014-10-07 18:48:11 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/a28756fae426023c53542f08c1bf80397a28f677 Cr-Commit-Position: refs/heads/master@{#298529}
6 years, 2 months ago (2014-10-07 18:48:55 UTC) #7
lfg
This change is breaking compilation on windows using MSVC Express (the compiler within depot_tools). See ...
6 years, 2 months ago (2014-10-20 19:00:43 UTC) #9
tzik
On 2014/10/20 19:00:43, lfg wrote: > This change is breaking compilation on windows using MSVC ...
6 years, 2 months ago (2014-10-21 07:57:22 UTC) #10
lfg
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/663083005/ by lfg@chromium.org. ...
6 years, 2 months ago (2014-10-21 14:53:50 UTC) #11
lfg
6 years, 2 months ago (2014-10-21 14:55:12 UTC) #12
Message was sent while issue was closed.
On 2014/10/21 07:57:22, tzik wrote:
> On 2014/10/20 19:00:43, lfg wrote:
> > This change is breaking compilation on windows using MSVC Express (the
> compiler
> > within depot_tools). See
> > https://code.google.com/p/chromium/issues/detail?id=422794 .
> > 
> > Since right now the benefits from this change are not very relevant, what do
> you
> > think about reverting it and waiting until MS compilers have better support
> for
> > this feature?
> 
> Ah... I'm sad to hear that.
> OK, please revert it to fix the build. I hope next MSVC works fine.
> 
> BTW, I landed another CL that uses Variadic Templates:
> https://codereview.chromium.org/615023002/
> Didn't it cause a error?

The error we're getting is an internal compiler error, which suggests that the
feature is supported, but there's some bug around its implementation. I'll not
revert the other change for now, let's wait and see if it causes issues down the
road.

Powered by Google App Engine
This is Rietveld 408576698