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

Issue 1170493002: Apply sizeof to variables instead of types. (Closed)

Created:
5 years, 6 months ago by wtc
Modified:
5 years, 6 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Apply sizeof to variables instead of types. Replace hardcoded variable sizes with sizeof. R=eroman@chromium.org BUG=none Committed: https://crrev.com/4e3ae14860d84d92ad89fe5afea84fa2ba77f0d2 Cr-Commit-Position: refs/heads/master@{#333117}

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -15 lines) Patch
M net/cert/crl_set_storage.cc View 4 chunks +16 lines, -15 lines 7 comments Download

Messages

Total messages: 7 (1 generated)
wtc
Eric: this CL makes the changes you suggested in https://codereview.chromium.org/1158923005/#msg6 https://codereview.chromium.org/1170493002/diff/1/net/cert/crl_set_storage.cc File net/cert/crl_set_storage.cc (right): https://codereview.chromium.org/1170493002/diff/1/net/cert/crl_set_storage.cc#newcode269 ...
5 years, 6 months ago (2015-06-04 00:57:29 UTC) #1
eroman
lgtm https://codereview.chromium.org/1170493002/diff/1/net/cert/crl_set_storage.cc File net/cert/crl_set_storage.cc (right): https://codereview.chromium.org/1170493002/diff/1/net/cert/crl_set_storage.cc#newcode154 net/cert/crl_set_storage.cc:154: data->remove_prefix(sizeof(num_serials)); this is a behavioral change from before. ...
5 years, 6 months ago (2015-06-04 22:25:32 UTC) #2
wtc
https://codereview.chromium.org/1170493002/diff/1/net/cert/crl_set_storage.cc File net/cert/crl_set_storage.cc (right): https://codereview.chromium.org/1170493002/diff/1/net/cert/crl_set_storage.cc#newcode154 net/cert/crl_set_storage.cc:154: data->remove_prefix(sizeof(num_serials)); On 2015/06/04 22:25:31, eroman wrote: > this is ...
5 years, 6 months ago (2015-06-05 17:39:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1170493002/1
5 years, 6 months ago (2015-06-05 20:19:04 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 6 months ago (2015-06-05 20:24:21 UTC) #6
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 20:25:19 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4e3ae14860d84d92ad89fe5afea84fa2ba77f0d2
Cr-Commit-Position: refs/heads/master@{#333117}

Powered by Google App Engine
This is Rietveld 408576698