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

Issue 606733003: DO NOT SUBMIT: test member initializers (Closed)

Created:
6 years, 2 months ago by jbroman
Modified:
6 years, 1 month ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

DO NOT SUBMIT: test member initializers BUG=

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -84 lines) Patch
M cc/resources/resource_provider.h View 2 chunks +18 lines, -18 lines 3 comments Download
M cc/resources/resource_provider.cc View 8 chunks +7 lines, -66 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Alex Vakulenko (Google)
https://codereview.chromium.org/606733003/diff/1/cc/resources/resource_provider.h File cc/resources/resource_provider.h (right): https://codereview.chromium.org/606733003/diff/1/cc/resources/resource_provider.h#newcode427 cc/resources/resource_provider.h:427: scoped_refptr<Fence> read_lock_fence = nullptr; It's a class with a ...
6 years, 2 months ago (2014-09-25 18:06:52 UTC) #2
jamesr
Having a mix of values between the header and constructor is sad here - now ...
6 years, 2 months ago (2014-09-25 18:10:56 UTC) #4
jbroman
https://codereview.chromium.org/606733003/diff/1/cc/resources/resource_provider.h File cc/resources/resource_provider.h (right): https://codereview.chromium.org/606733003/diff/1/cc/resources/resource_provider.h#newcode427 cc/resources/resource_provider.h:427: scoped_refptr<Fence> read_lock_fence = nullptr; On 2014/09/25 18:10:55, jamesr wrote: ...
6 years, 2 months ago (2014-09-25 18:18:34 UTC) #5
jbroman
6 years, 1 month ago (2014-11-11 22:04:31 UTC) #6
On 2014/09/25 18:18:34, jbroman wrote:
>
https://codereview.chromium.org/606733003/diff/1/cc/resources/resource_provid...
> File cc/resources/resource_provider.h (right):
> 
>
https://codereview.chromium.org/606733003/diff/1/cc/resources/resource_provid...
> cc/resources/resource_provider.h:427: scoped_refptr<Fence> read_lock_fence =
> nullptr;
> On 2014/09/25 18:10:55, jamesr wrote:
> > On 2014/09/25 18:06:51, Alex Vakulenko (Google) wrote:
> > > It's a class with a default constructor, does it have to be value
> initialized
> > > like that?
> > 
> > Yeah, this seems unnecessary.
> 
> Agreed. Only did this because the constructors previously said
> "read_lock_fence(NULL)," so I figured it might be a style preference in cc I
was
> unaware of.

This CL was just an example. Closing to de-clutter Rietveld.

Powered by Google App Engine
This is Rietveld 408576698