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

Issue 10088001: Fixing issues with alignment, undefined behaviour and endianness in the FieldTrial::HashName functi… (Closed)

Created:
8 years, 8 months ago by jwd
Modified:
8 years, 8 months ago
CC:
chromium-reviews, erikwright (departed), MAD, Ilya Sherman, jar (doing other things), brettw-cc_chromium.org, sreeram, Wez, Alexei Svitkine (slow)
Visibility:
Public.

Description

Fixing issues with alignment, undefined behaviour and endianness in the FieldTrial::HashName function. I also added new functions to base that convert from host order to little endian. BUG=123230 FieldTrialTest.HashName TEST=FieldTrialTest.HashName Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132404

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -3 lines) Patch
M base/metrics/field_trial.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M base/sys_byteorder.h View 1 chunk +24 lines, -0 lines 3 comments Download

Messages

Total messages: 10 (0 generated)
jwd
8 years, 8 months ago (2012-04-13 15:54:17 UTC) #1
MAD
LGTM Thanks! BYE MAD
8 years, 8 months ago (2012-04-13 16:16:12 UTC) #2
jar (doing other things)
lgtm
8 years, 8 months ago (2012-04-13 19:50:00 UTC) #3
Ilya Sherman
https://chromiumcodereview.appspot.com/10088001/diff/1/base/sys_byteorder.h File base/sys_byteorder.h (right): https://chromiumcodereview.appspot.com/10088001/diff/1/base/sys_byteorder.h#newcode93 base/sys_byteorder.h:93: #endif Hmm, why are you adding these functions rather ...
8 years, 8 months ago (2012-04-13 20:19:20 UTC) #4
jwd
https://chromiumcodereview.appspot.com/10088001/diff/1/base/sys_byteorder.h File base/sys_byteorder.h (right): https://chromiumcodereview.appspot.com/10088001/diff/1/base/sys_byteorder.h#newcode93 base/sys_byteorder.h:93: #endif We decided that we wanted the values in ...
8 years, 8 months ago (2012-04-13 20:33:43 UTC) #5
Ilya Sherman
lgtm https://chromiumcodereview.appspot.com/10088001/diff/1/base/sys_byteorder.h File base/sys_byteorder.h (right): https://chromiumcodereview.appspot.com/10088001/diff/1/base/sys_byteorder.h#newcode93 base/sys_byteorder.h:93: #endif On 2012/04/13 20:33:44, Jesse Doherty wrote: > ...
8 years, 8 months ago (2012-04-13 21:27:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jwd@chromium.org/10088001/1
8 years, 8 months ago (2012-04-13 21:27:39 UTC) #7
commit-bot: I haz the power
Try job failure for 10088001-1 (retry) on linux_rel for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-13 22:05:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jwd@chromium.org/10088001/1
8 years, 8 months ago (2012-04-16 13:58:22 UTC) #9
commit-bot: I haz the power
8 years, 8 months ago (2012-04-16 15:29:28 UTC) #10
Change committed as 132404

Powered by Google App Engine
This is Rietveld 408576698