|
|
Created:
6 years, 9 months ago by vivekg_samsung Modified:
6 years, 9 months ago CC:
chromium-reviews, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Visibility:
Public. |
Description[Android] Fix compilation error: unused variable 'kAllowedToAccessOnNonjoinableThread'
While building with clang=1, clang reports this error about the above variable being unused.
BUG=349521
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255159
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 26 (0 generated)
PTAL, thank you!
https://code.google.com/p/chromium/codesearch#chromium/src/content/browser/po... <- this is a better approach I think
Looks like https://code.google.com/p/chromium/codesearch#chromium/src/content/child/chil... does this with UNUSED too, can you change that to the ifdef too while you're here?
On 2014/03/05 18:43:33, Nico wrote: > Looks like > https://code.google.com/p/chromium/codesearch#chromium/src/content/child/chil... > does this with UNUSED too, can you change that to the ifdef too while you're > here? :) in-fact with Patch Set 1, I fixed it using this reference itself... Sure, I will fix both these places. Thanks!
Fixed as per the review comments. PTAL, thank you!
lgtm, thanks! (+fischman fhi)
On 2014/03/05 18:55:05, Nico wrote: > lgtm, thanks! > > (+fischman fhi) Thank you @thakis. @fischman, if the change looks fine to you, can you please set the CQ bit for this CL? (Bit late here in India: 1 AM, hence the request!) Thank you.
The CQ bit was checked by thakis@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/188003002/40001
On 2014/03/05 19:00:13, vivekg_ wrote: > On 2014/03/05 18:55:05, Nico wrote: > > lgtm, thanks! > > > > (+fischman fhi) > > Thank you @thakis. > > @fischman, if the change looks fine to you, can you please set the CQ bit for > this CL? (Bit late here in India: 1 AM, hence the request!) > Thank you. <jedi-mindwave>This change looks fine to fischman</jedi-mindwave>
On 2014/03/05 18:55:05, Nico wrote: > lgtm, thanks! > > (+fischman fhi) Thanks for looping me in Nico. I think #ifdef is the wrong approach here; these classes are "implementing" an "interface" that is unconditionally specified (not only in !NDEBUG): https://code.google.com/p/chromium/codesearch#chromium/src/base/memory/single... Quotes above are for the fact that these aren't really a C++ class heirarchy, but the flavor is the same so IMO omitting fields in "impls" b/c we know they are only tested for in !NDEBUG is poor form. Just sayin'.
The CQ bit was unchecked by fischman@chromium.org
Unchecked CQ box b/c I'm not the Weak-Minded Fool(tm) that thakis@ thinks I am. @thakis: feel free to re-check if you strongly disagree; this smells like an OWNERS decision to me.
On Wed, Mar 5, 2014 at 11:05 AM, <fischman@chromium.org> wrote: > On 2014/03/05 18:55:05, Nico wrote: > >> lgtm, thanks! >> > > (+fischman fhi) >> > > Thanks for looping me in Nico. > I think #ifdef is the wrong approach here; these classes are > "implementing" an > "interface" that is unconditionally specified (not only in !NDEBUG): > https://code.google.com/p/chromium/codesearch#chromium/ > src/base/memory/singleton.h&rcl=1393971344&l=66 > Quotes above are for the fact that these aren't really a C++ class > heirarchy, > but the flavor is the same so IMO omitting fields in "impls" b/c we know > they > are only tested for in !NDEBUG is poor form. > Just sayin'. > I guess it could be ifdef'd in the interface too. The only use is in !NDEBUG code. Marking this used means there will be storage for the bool even though it's not really used I believe. (My mindwave powers are broken today :'-( ) > > https://codereview.chromium.org/188003002/ > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
Can I OWNERS-decide to move the interface bool behind and !NDEBUG then? :-) On Wed, Mar 5, 2014 at 11:07 AM, <fischman@chromium.org> wrote: > Unchecked CQ box b/c I'm not the Weak-Minded Fool(tm) that thakis@ thinks > I am. > > @thakis: feel free to re-check if you strongly disagree; this smells like > an > OWNERS decision to me. > > https://codereview.chromium.org/188003002/ > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
On Wed, Mar 5, 2014 at 11:08 AM, Nico Weber <thakis@chromium.org> wrote: > Can I OWNERS-decide to move the interface bool behind and !NDEBUG then? :-) > Sure. That would ensure that nobody started depending on the field for NDEBUG purposes. To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
Ok, then let's cq+ this again to unbreak builds, and i'll do the interface in a follow-up later today. Thanks! On Wed, Mar 5, 2014 at 11:33 AM, Ami Fischman <fischman@chromium.org> wrote: > > On Wed, Mar 5, 2014 at 11:08 AM, Nico Weber <thakis@chromium.org> wrote: > >> Can I OWNERS-decide to move the interface bool behind and !NDEBUG then? >> :-) >> > > Sure. That would ensure that nobody started depending on the field for > NDEBUG purposes. > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
The CQ bit was checked by fischman@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/188003002/40001
On 2014/03/05 19:34:27, Nico wrote: > Ok, then let's cq+ this again Done. > to unbreak builds, lol didn't realize this was unbreaking. > and i'll do the interface > in a follow-up later today. Thanks! Thank _you_!
LGTM
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_rel
The CQ bit was checked by thakis@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/188003002/40001
Message was sent while issue was closed.
Change committed as 255159 |