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

Issue 150202: Prefer arraysize() over sizeof(). (Closed)

Created:
11 years, 5 months ago by chase
Modified:
9 years, 7 months ago
Reviewers:
Glen Murphy
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Prefer arraysize() over sizeof(). Fix a call to sizeof() on a static array to use arraysize() instead. Maybe fixes a coverity issue, too. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19800

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/browser_theme_provider.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
chase
11 years, 5 months ago (2009-07-02 01:21:54 UTC) #1
Glen Murphy
11 years, 5 months ago (2009-07-02 01:24:08 UTC) #2
LGTM

And apologies to Erik, whose review comment I apparently completely ignored when
writing the original.

Powered by Google App Engine
This is Rietveld 408576698