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

Issue 23672052: Fix possible naming conflict in macro. (Closed)

Created:
7 years, 3 months ago by Finnur
Modified:
7 years, 3 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Fix possible naming conflict in macro. The ObserverList macro (FOR_EACH_OBSERVER) uses an iterator named |it|, which can in some cases conflict with locally defined variables. Make the iterator variable name slightly more unique BUG=None R=jar@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224985

Patch Set 1 #

Total comments: 1

Patch Set 2 : Name change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -8 lines) Patch
M base/observer_list.h View 1 1 chunk +9 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Finnur
7 years, 3 months ago (2013-09-23 16:15:07 UTC) #1
jar (doing other things)
LGTM My review (and probable blame) falls under the "no good deed goes unpunished." I ...
7 years, 3 months ago (2013-09-23 16:27:15 UTC) #2
Finnur
Thanks for the review and the suggestions. I changed the name to what you suggested. ...
7 years, 3 months ago (2013-09-24 10:07:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/finnur@chromium.org/23672052/11001
7 years, 3 months ago (2013-09-24 10:08:52 UTC) #4
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-09-24 10:17:52 UTC) #5
Finnur
Also removed the following snippet from the changelist description (since it doesn't make sense to ...
7 years, 3 months ago (2013-09-24 10:25:14 UTC) #6
Finnur
7 years, 3 months ago (2013-09-24 13:27:09 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r224985 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698