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

Issue 23455017: Refactor how "length" parameter is obtained for HmacKeyParams. (Closed)

Created:
7 years, 3 months ago by eroman
Modified:
7 years, 3 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, jamesr, dglazkov+blink, eae+blinkwatch, abarth-chromium
Visibility:
Public.

Description

Refactor how the "length" parameter is obtained for HmacKeyParams. This makes it more clear to the caller that the length parameter is optional and may not be present. Being more defensive is desirable, since I saw a code review which tried to use the value without checking if it was present. BUG=245025 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156972

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M Source/modules/crypto/HmacKeyParams.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M public/platform/WebCryptoAlgorithmParams.h View 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
eroman
7 years, 3 months ago (2013-08-30 00:26:47 UTC) #1
abarth-chromium
lgtm
7 years, 3 months ago (2013-08-30 07:05:01 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/23455017/1
7 years, 3 months ago (2013-08-30 07:05:16 UTC) #3
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 08:44:55 UTC) #4
Message was sent while issue was closed.
Change committed as 156972

Powered by Google App Engine
This is Rietveld 408576698