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

Issue 285413003: Mojo: Remove dangerous default argument in mojom_bindings_generatory.py: ProcessFile(). (Closed)

Created:
6 years, 7 months ago by viettrungluu
Modified:
6 years, 7 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Visibility:
Public.

Description

Mojo: Remove dangerous default argument in mojom_bindings_generatory.py: ProcessFile(). (The other dangerous default argument, _processed_files, is as intended, since it's meant to memoize across all invocations. _imported_filename_stack was unnecessarily dangerous, but there was no bug since we never modified it.) R=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270771

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M mojo/public/tools/bindings/mojom_bindings_generator.py View 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
viettrungluu
6 years, 7 months ago (2014-05-15 17:42:41 UTC) #1
darin (slow to review)
LGTM
6 years, 7 months ago (2014-05-15 17:52:57 UTC) #2
viettrungluu
6 years, 7 months ago (2014-05-15 19:21:27 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r270771 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698